Le 16/03/2012 15:06, Pim Zandbergen a écrit :
> 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.
> 


As Viktor said, don't route mail based on headers. use the recipient
address. your ML has a "recipient" address, no?
simply use virtual_alias_maps:

joel...@example.org     joelist+example.org@localhost

of course, you can also use a transport entry:

joel...@example.org     local:


Reply via email to