Can the null address be specified in a ruleset?

Dhawal Doshy dhawal at netmagicsolutions.com
Thu Apr 20 10:04:03 IST 2006


Alex Neuman wrote:
> Do you know of a good way to silently discard these messages selectively?

Can be done if you are using simple 'mailscanner' blacklists (not SQL OR 
ByDomain) with a rules like this.

Is Definitely Spam = %rules-dir%/is.definitely.spam.rules
Definite Spam Is High Scoring = yes

%rules-dir%/is.definitely.spam.rules
====================================
From: postmaster@* and To: joe-jobbed at domain.tld yes
From: mailer-daemon@* and To: joe-jobbed at domain.tld yes

Another way to do it would be at the delivery level.. say procmail / 
maildrop etc.. Write a rule to dump such mails in to folder (so as to 
not lose any valid bounces) OR simply /dev/null them.

- dhawal


More information about the MailScanner mailing list