Changes between Version 1 and Version 2 of relay-server-by-domain


Ignore:
Timestamp:
Jan 16, 2014, 12:17:22 PM (6 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • relay-server-by-domain

    v1 v2  
    77 * provide flexibility so we can easily redirect messages being blocked on one server to be redirect to a different relay server
    88
    9 == How to make a change =
     9== How to make a change ==
    1010
    1111Each 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.
     
    3636== Configuring a server to use the relay farm ==
    3737
     38 * Edit /etc/postfix/main.cf, adding:
     39{{{
     40transport_maps = hash:/etc/postfix/transport.relay
     41}}}
    3842
     43Or add this new line to the transport_maps line if it exists already.
     44
     45Then, run `postmap /etc/postfix/transport.relay`
     46
     47Lastly, add the server's IP address to the manifests/global.pp file in puppet.
     48