Date: Sat, 4 Jan 2003 03:24:52 +0100 From: Mark <admin@asarian-host.net> To: "Fuzzy" <fuzzy@pooh.asarian.org>, <freebsd-questions@freebsd.org> Subject: Re: how can I filter on subject with sendmail 8.12.6? Message-ID: <200301040224.H042OVS35472@asarian-host.net> References: <Pine.BSF.4.44.0301032030410.56330-100000@pooh.ASARian.org>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message -----
From: "Fuzzy" <fuzzy@pooh.ASARian.org>
To: <freebsd-questions@FreeBSD.ORG>
Sent: Saturday, January 04, 2003 2:48 AM
Subject: how can I filter on subject with sendmail 8.12.6?
> 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"
>
> It claims its advertising for www.liquid2d.com,
Hi Fuzzy, :)
Since you are running sendmail 8.12.6, I strongly recommend using milter. Of
course, you could also do a quick-and-dirty hack with a macro:
HSubject: $>Check_Subject
D{MPat}XXX templates
D{MMsg}Go away, please.
SCheck_Subject
R${MPat} $* $#error $: 553 ${MMsg}
Something like that. :)
- Mark
System Administrator Asarian-host.org
---
"If you were supposed to understand it,
we wouldn't call it code." - FedEx
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?200301040224.H042OVS35472>
