I need to set up a smart relay host for all my mail to forward to going out through smtp - can anyone tell me where to set this on my postfix box (running FreeBSD)
Transport table lookups are disabled by default. To enable, edit the transport_maps parameter in the main.cf file and specify one or more lookup tables, separated by whitespace or commas. For example:
transport_maps = hash:/etc/postfix/transport
Update your transport file as described below and then run the postmap command against it.
postmap /etc/postfix/transport
In order to deliver internal mail directly, while using a mail relay for all other mail, specify a null entry for internal destinations (do not change the delivery transport or the nexthop information) and specify a wildcard for all other destinations.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.