On 16-3-2012 14:18, Viktor Dukhovni wrote:
/^X-Mailing-List:/ REDIRECT some@address
DO NOT do this. If a particular recipient wants his list traffic left
a local mailbox, and the rest forwarded, that's up the to user's
LDA, say procmail(1), or similar. This must not be done at the
message level by the MTA which processes mail for multiple
recipients.
I agree, the other SMTP server that receives all the other mail, a popular
commercial groupware product, should handle the mailing list mail as well.
But it does so in an unsatisfying way.
So I need to intercept this mail before it gets handed over to this other
server. Here, local processing means submitting to Cyrus IMAP, and further
filtering by Cyrus' sieve which works much more satisfying than the other
servers' filtering mechanisms.
Pim