I have a recipe to sack all maildaemon mails to a file:
:0 H
* ^FROM_DAEMON|^FROM_MAILER|^From:.*(MAILER-DAEMON|spam_master|postmaster|ait-admin|Mail
Delivery|bounce@)|^To:.*-request
* ^Subject:.*(Error Condition|DELIVERY FAILURE|Delivery Status Notification|Delivery delayed|Returned mail|Undeliverable|failure
notice|Warning: could not send message)
Mailerror
(Note /* ^FROM_DAEMON/ and /* ^Subject/ lines may be wrapped in this mail;
the 4th line is "Mailerror".)
However it misses mail bounces like:
From: postmaster(_at_)xxx(_dot_)xxxxxxx(_dot_)xx
To: xxxxxxx-request(_at_)xxxxxxxxxx(_dot_)xxx
Subject: Undeliverable: xxxxxxxxxx
I could not find but does my construct have a problem?
Zhiliang
____________________________________________________________
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