procmail
[Top] [All Lists]

Re: Recipe to block unqualified domains?

2006-05-25 13:21:38
Dave Waxman schreef:

Lately I am getting POUNDED by junk-mail and SA and Bogofilter just
aren't doing it anymore.  I am looking to use procmail to send mail
from unqualified domains such as:
From lizarra(_at_)kriewaldtappraisals  Thu May 25 15:07:18 2006
 Subject: Mycenaea 869
to /dev/null.

Any ideas?  Any other tips for cutting down on an enormous amount of
SPAM?

You should make your MTA more critical. That address in the From_ header
line is coming directly from the Envelope-From. Your MTA should *reject*
communication with any server trying to hand over such messages to your
server.


Of course you can do this with procmail, but then you are much too late.

  MAILDIR = "$HOME/mail"  # should exist

  :0:
  * ^^From( )[^@ ]+(_at_)[^@ .]+( )
  in.spam.efrom

This checks for no dots in the host-/domainname part, after the @.

-- 
Groet, Ruud


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail