Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 May 2001 11:48:06 -0500
From:      "Scot W. Hetzel" <hetzels@westbend.net>
To:        <freebsd-isp@FreeBSD.ORG>, "Ryan Gieryn" <rag@hnet.net>
Subject:   Re: Ruleset Problems
Message-ID:  <005201c0d8a7$d285dc60$087885c0@GENROCO.com>
References:  <4.1.20010509111326.02e02100@hnet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
From: "Ryan Gieryn" <rag@hnet.net>
> 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.
>

You need to create one Check_Subject ruleset for checking the Subject
header:

> HSubject: $>Check_Subject

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

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

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

> ####Check for HORNY
> D{MPat4}ARE YOU HORNY TONIGHT!!
> D{MMsg4}Go away porno merchant.

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

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

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

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

> R${MPat3} $*    $#error $: 553 ${MMsg3}

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

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

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


There can only be one 'HSubject: $>Check_Subject' line in the sendmail.cf
file.

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

West Bend Internet
2031 W. Washington St.
West Bend, WI 53095
Phn: 262-335-0397



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?005201c0d8a7$d285dc60$087885c0>