Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 May 2001 11:18:40 -0500
From:      Ryan Gieryn <rag@hnet.net>
To:        freebsd-isp@freebsd.org
Subject:   Ruleset Problems
Message-ID:  <4.1.20010509111326.02e02100@hnet.net>

next in thread | raw e-mail | index | archive | help
I'm having a little problem with my sendmail.cf file.  I have several
rulesets in S98 set to block out different viruses, but the only one that
ever works is the ruleset.  I put the ruleset in any order and for some
reason it only seems to look at whichever ruleset is last.  Any ideas on
what may be the problem?  Any help would be greatly appreciated.

Ryan Gieryn

Here is a list of the rulesets I've added.

#####Check for Melissa virus
HSubject: $>Check_Subject
D{MPat}Important Message From
D{MMsg}This message may contain the Melissa virus.

SCheck_Subject
R${MPat} $*     $#error $: 553 ${MMsg}
RRe: ${MPat} $* $#error $: 553 ${MMsg}
#####

#####Check for ILOVEYOU virus
HSubject: $>Check_Subject2
D{MPat2}ILOVEYOU
D{MMsg2}This message may contain the ILOVEYOU virus.

SCheck_Subject2
R${MPat2} $*    $#error $: 553 ${MMsg2}
#####

#####Check for Anna Kournikovva virus
HSubject: $>Check_Subject3
D{MPat3}Here you have,
D{MMsg3}This message may contain the Anna Kournikovva virus.

SCheck_Subject3
R${MPat3} $*    $#error $: 553 ${MMsg3}
#####
####Check for HORNY
HSubject: $>Check_Subject4
D{MPat4}ARE YOU HORNY TONIGHT!!
D{MMsg4}Go away porno merchant.

SCheck_Subject4
R${MPat4} $*    $#error $: 553 ${MMsg4}
#####

#####Check for Snowhite virus
HSubject: $>Check_Subject5
D{MPat5}Snowhite and the Seven Dwarfs - The REAL story!
D{MMsg5}This message may contain the Snow White virus.

SCheck_Subject5
R${MPat5} $*    $#error $: 553 ${MMsg5}
#####

#####Check for homepage virus
HSubject: $>Check_Subject6
D{MPat6}Homepage
D{MMsg6}This message may contain the Home page virus.

SCheck_Subject6
R${MPat6} $*    $#error $: 553 ${MMsg6}




Hillman Consulting Services, Inc.
303 N. Main Street
West Bend, WI  53095
Phn: 262-338-6808  Fax:  262-338-6192

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.1.20010509111326.02e02100>