Changes between Version 1 and Version 2 of relay-server-by-domain
- Timestamp:
- Jan 16, 2014, 5:17:22 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
relay-server-by-domain
v1 v2 7 7 * provide flexibility so we can easily redirect messages being blocked on one server to be redirect to a different relay server 8 8 9 == How to make a change = 9 == How to make a change == 10 10 11 11 Each server that is using this method has a file called /etc/postfix/transport.relay. This file lists all the domains that should be relayed instead of sent by the local server, as well as the domain it should be relayed to. … … 36 36 == Configuring a server to use the relay farm == 37 37 38 * Edit /etc/postfix/main.cf, adding: 39 {{{ 40 transport_maps = hash:/etc/postfix/transport.relay 41 }}} 38 42 43 Or add this new line to the transport_maps line if it exists already. 44 45 Then, run `postmap /etc/postfix/transport.relay` 46 47 Lastly, add the server's IP address to the manifests/global.pp file in puppet. 48