From owner-freebsd-isp Wed May 9 9:49:20 2001 Delivered-To: freebsd-isp@freebsd.org Received: from gifw.genroco.com (genroco.com [205.254.195.202]) by hub.freebsd.org (Postfix) with ESMTP id 1FD1437B423 for ; Wed, 9 May 2001 09:49:17 -0700 (PDT) (envelope-from hetzels@westbend.net) Received: from gi2.genroco.com (IDENT:root@gi2.genroco.com [192.133.120.3]) by gifw.genroco.com (8.9.3/8.9.3) with ESMTP id LAA03962; Wed, 9 May 2001 11:49:17 -0500 Received: from d2e (d2e.genroco.com [192.133.120.8]) by gi2.genroco.com (8.9.3/8.9.3) with SMTP id LAA31510; Wed, 9 May 2001 11:49:53 -0500 Message-ID: <005201c0d8a7$d285dc60$087885c0@GENROCO.com> From: "Scot W. Hetzel" To: , "Ryan Gieryn" References: <4.1.20010509111326.02e02100@hnet.net> Subject: Re: Ruleset Problems Date: Wed, 9 May 2001 11:48:06 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org From: "Ryan Gieryn" > 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