Date: Sat, 4 Jan 2003 04:11:05 +0100 (CET) From: Andrew Prewett <andrew@kronos.HomeUnix.com> To: freebsd-questions@FreeBSD.ORG Subject: Re: how can I filter on subject with sendmail 8.12.6? Message-ID: <20030104040012.Y61584@slave.east.ath.cx> In-Reply-To: <Pine.BSF.4.44.0301032030410.56330-100000@pooh.ASARian.org> References: <Pine.BSF.4.44.0301032030410.56330-100000@pooh.ASARian.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Jan 3 Fuzzy wrote:
>
> we're having a problem with some cracker using addresses
> harvested from whois and the "abuse/www/webmaster" with
> domains they get from the database. The mail appears to
> come from us but it cannot as the addresses are oneway incoming
> only.
>
> the subject is always
>
> "XXX templates"
[...]
Try with this at the end of your sendmail.mc
(don't forget to rebuild the sendmail.cf file and restart sendmail)
LOCAL_CONFIG
C{RejectSubject} XXX templates
LOCAL_RULESETS
HSubject: $>CheckSubject
SCheckSubject
R$={RejectSubject} $#error $@ 5.1.3 $: "554 Header error"
R$* $@ OK
-andrew
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030104040012.Y61584>
