Andy put forth on 3/5/2011 9:59 AM:
> Hi.
> While I am working on solving the delivery problem to Hotmail MXs, I
> would like to set up postfix to connect directly to their servers to
> deliver mail.
> What should I put in transport_maps? I tried with:
> 
> hotmail.com:
> live.com:

You're not specifying a transport.

> but the mail keeps going through $relayhost.

~# man transport

"A non-null transport field with a null nexthop field resets the nexthop
information to the recipient domain."

I.e. you need:  /etc/postfix/transport_maps

hotmail.com     smtp:
live.com        smtp:

This will override the relayhost= setting in main.cf for these domains,
and will send mail addressed to them directly to their MX hosts.

Don't forget to 'postmap /etc/postfix/transport_maps' after making changes.

-- 
Stan

Reply via email to