----- Original Message -----
From: "Fuzzy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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 [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to