using header_checks for custom transport

2012-03-16 Thread Pim Zandbergen
I am routing all mail for a domain to another SMTP server using the transport map rule adomain.comrelay:other.server But I would like to exclude mailing lists, and have them processed locally, using header_checks entries like this: /^X-Mailing-List:/FILTER local: Here, local is the

Re: using header_checks for custom transport

2012-03-16 Thread Viktor Dukhovni
On Fri, Mar 16, 2012 at 12:37:21PM +0100, Pim Zandbergen wrote: I am routing all mail for a domain to another SMTP server using the transport map rule adomain.comrelay:other.server Good. But I would like to exclude mailing lists, and have them processed locally, using header_checks

Re: using header_checks for custom transport

2012-03-16 Thread Pim Zandbergen
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

Re: using header_checks for custom transport

2012-03-16 Thread mouss
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