How to block delivery of MAILER-DAEMON (<>) messages?

Andreas Piper piper at HRZ.UNI-MARBURG.DE
Fri Dec 10 15:47:21 GMT 2004


Hello all,

On my MailScanner-host I am getting a lot of messages from external sites,
which contain non-delivery notifications for spam-messages originally sent
using faked from-adresses from our domain. As I have set 'Allow Partial
Messages = no' and these messages contain 'Content-Type: message/partial',
they are cleaned by MailScanner. As I have further set 'Deliver Cleaned
Messages = yes', they are delivered to the (faked) recipients.

I am tried to define a ruleset for 'Deliver Cleaned Messages' to exclude these
messages from delivery, but I did not succeed, because the envelope-from in
these messages is <>, and the rule
From:   /^$/    no
seems not to be working.

How can I solve this problem?

My system parameters are::
Debian/testing
MailScanner 4.35.11
sendmail 8.13.1
perl 5.8.4

Thanks,  Andreas
--
________________________________________________________________________
Dr. Andreas Piper, Hochschulrechenzentrum der Philipps-Univ. Marburg
          Hans-Meerwein-Strasse, 35032 Marburg, Germany
Phone: +49 6421 28-23521  Fax: -26994  Email: piper at HRZ.Uni-Marburg.DE

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list