On Fri, Nov 21, 2008 at 08:34:35PM +0000, Khosrow Ebrahimpour wrote:

> > > A transport maps entry like this:
> > >
> > >     [EMAIL PROTECTED]     smtp:ms-exch.example.com
> > >
> > > Should do the job.
> >
> > But may cause a loop if the mail ultimately returns to the same
> > server for final delivery. The OP has to explain the situation
> > in more detail if that is is the case.
> 
> I tried that solution, and it in fact caused a loop. My exact setup was the 
> following:

What sort of loop did it cause? How do you expect Postfix to differentiate
between the recipient when created via list expansion, and the same
recipient when mail returns to you after external filtering?

> in main.cf I had 
> 
>       transport_maps=/etc/postfix/transport
>       
> and in /etc/postfix/transport I had
> 
>       [EMAIL PROTECTED]       smtp:ms-exch.cmc.ec.gc.ca
> 
> the end result of this was that no mail was getting to user 
> [EMAIL PROTECTED]

Think it through, and post a flow description, showing all the steps
the mail will traverse, what the recipient addresses are at each stage,
and how you want the mail processed.

> I think this is due to the fact that we also have ms-exch defined as the 
> fallback_transport in main.cf. I will re-read 
> http://www.postfix.org/transport.5.html as has been suggested. Any insight is 
> definitely welcome.

Don't guess, design and document. Once you have a design, we can refine
the implementation strategy.

-- 
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:[EMAIL PROTECTED]>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.

Reply via email to