On 4/28/2014 7:09 PM, post...@nisny.com wrote: > I have just moved our email operations to a new server. Before moving I > checked all public RBLs for the new IP and it wasn't listed, however it is > listed in some "private" blacklists for some major providers and they > aren't very fast about removing it. > > In the meantime, my old server is still available. I thought if I could > relay OUTBOUND only connections through it I would solve the problem until > my IP is removed from those private lists.
The relayhost parameter takes care of that automatically. Mail for local/virtual/virtual_alias domains defined in postfix are still delivered normally, transport_maps entries for relay_domains are still honored. All other mail -- which should be all the outbound/offsite mail -- is passed to the relayhost. > > Is there an easy way to do this? I'm thinking of adding relayhost to > master.cf for submission relayhost doesn't work like that. > and of course adding the new server to mynetworks > to postfix on the old server? Would that work or am I barking up the > wrong tree? I'd test but my customers are grumpy enough > right now as it is. > > Generally, just adding relayhost to main.cf is sufficient. If you have complex routing needs you should describe them in detail, including showing relevant configs. -- Noel Jones