Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 1999 23:57:52 +0200 (CEST)
From:      Leif Neland <root@neland.dk>
To:        freebsd-isp@freebsd.org
Subject:   sendmail melissa blocker
Message-ID:  <Pine.BSF.4.05.9903302353440.1385-100000@gina.neland.dk>

next in thread | raw e-mail | index | archive | help
I have installed the melissa blocker found at http://www.sendmail.com :

 --- 8<--SNIP!-------
LOCAL_RULESETS
# Kludgey Melissa virus checking routine.
# Just need enough of a pattern to match.
# Instructional note:
# The format for the rule is
# RExactly the thing you want to quote
# No quote marks, no tabs, absolutely nothing in
# parentheses (like this, they're considered comments
# and will be removed before they get to the rules).
# After the exact thing, then a tab, and the $#error.
# Note, the $* matches anything, so it's useful for
# wildcarding. This also scans all messages with
# Subject: headers and invokes a rule, so there is
# a performance hit.

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}
 --- 8< SNIP! ----

It works, but the mail gets bounced with the message: 
554: buildaddress: No user

Couldn't it show a better response?

Leif




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?Pine.BSF.4.05.9903302353440.1385-100000>