Hi,
The following code was posted this morning as a way of having sendmail 
reject some known virus infected emails.

HSubject:       $>local_check_header
D{MelissaMessage}"553 Your message may contain the 
Melissa/ILOVEYOU virus."

Slocal_check_header
RILOVEYOU $*    $#error $: ${MelissaMessage}
RImportant Message From $*      $#error $: ${MelissaMessage}
RRe: Important Message From $*  $#error $: ${MelissaMessage}


Having looked through the 'Bat Book' I can understand how the code works, 
but am at a loss as to just where in sendmail.cf I should place the various 
bits. I tried the 'suck it and see' method but got this in my Message log:

May  5 09:05:26 gatekeeper sendmail: /etc/sendmail.cf: WARNING: 
dangerous write permissions
May  5 09:05:26 gatekeeper sendmail: 554 /etc/sendmail.cf: line 1040: 
invalid rewrite line "RILOVEYOU ^A*    ^A#error ^A: ^A#" (tab expected)^M

What should the permissions be?
We are runnin Sendmail 8.9.3

Any help appreciated



















HSubject:       $>local_check_header
D{MelissaMessage}"553 Your message may contain the 
Melissa/ILOVEYOU virus."

Slocal_check_header
RILOVEYOU $*    $#error $: ${MelissaMessage}
RImportant Message From $*      $#error $: ${MelissaMessage}
RRe: Important Message From $*  $#error $: ${MelissaMessage}


--
Simon Bryan                    [EMAIL PROTECTED]
Information Technology Manager [EMAIL PROTECTED]
OLMC Parramatta
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to