From: Cameron L. Spitzer on

I'm having trouble delivering email to addresses at a certain domain.
Individual messages go through, but Mailman list traffic gets
deferred.

I'd like to use a transport rule to divert messages for those
subscribers through a specialized transport agent, while the
rest of the list's traffic gets delivered the normal way.

The messages I want to divert would have a headerfield
X-Been-There: list-name(a)lists.example.com
and RCPT TO address matching @trouble.domain

So this would be a variation on the "slow transport"
example in the transport(5) manpage, where only messages
matching a header_check are routed differently.

As a last resort, I'll just put all those list subscribers
in the transport table, but I'd rather have it just
affect the one Mailman list than everything to those
recipients.

Is there a reasonable way to do that in Postfix?


Cameron


From: Ralf Hildebrandt on
On 2007-09-11, Cameron L. Spitzer <spambait(a)merde.greens.org> wrote:
>
> I'm having trouble delivering email to addresses at a certain domain.
> Individual messages go through, but Mailman list traffic gets
> deferred.
>
> I'd like to use a transport rule to divert messages for those
> subscribers through a specialized transport agent, while the
> rest of the list's traffic gets delivered the normal way.
>
> The messages I want to divert would have a headerfield
> X-Been-There: list-name(a)lists.example.com
> and RCPT TO address matching @trouble.domain
>
> So this would be a variation on the "slow transport"
> example in the transport(5) manpage, where only messages
> matching a header_check are routed differently.

/^X-Been-There: list-name(a)lists.example.com/ FILTER transport:destination

--
Ralf Hildebrandt (i.A. des IT-Zentrums) Ralf.Hildebrandt(a)charite.de
Charite - Universitätsmedizin Berlin Tel. +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 570-962
IT-Zentrum Standort CBF send no mail to plonk(a)charite.de