Instead of using relayhost I am trying a negative transport map entry:
!/apartia\.fr$/ :smtp.orange.fr
but when I send mail to ro...@apartia.fr here's what happens:
Oct 15 16:23:13 nikkei postfix/qmgr[29249]: CF74C139807: from=<ro...@domain.com>, size=472, nrcpt=1 (queue active)
Oct 15 16:23:14 nikkei postfix/smtp[29257]: CF74C139807: to=<ro...@apartia.fr>, relay=smtp.orange.fr[80.12.242.141]:25, delay=0.3, delays=0.12/0.01/0.1/0.07, dsn=2.0.0, status=sent (250 Ok: queued as 01DAF7000086)
the mail should be routed to apartia.fr's mx, not smtp.organge.fr
Any idea why this is happening?
Thanks,
http://www.postfix.org/DEBUG_README.html#mail
Include all relevant table entries, "postmap -q" commands demonstrating
the entries in action, "postconf -n" output and the logging you have
already included, so everything is in one message, not scattered over
multiple messages.
--
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:majo...@postfix.org?body=unsubscribe%20postfix-users>
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.