Sunday, May 29, 2011, 1:59:39 PM, Ronald wrote:

> Thank you very much for all the helpful suggestions. I have decided
> to go down the transport maps route, as it means I can just quickly
> pop in the delivery settings, temporarily, while I wait for the
> client to update DNS. It's a bit ugly, but it saves me using the
> embarrassing gmail address I've got for odd occasions like this.

That's exactly what I have here reserved:

  main.cf:
  ...
  relay_domains = cdb:$config_directory/cdb.relay_domains
  transport_maps = cdb:$config_directory/cdb.transport_maps
  ...

  cdb.relay_domains:
    example.com OK

  cdb.transport_maps:
    example.com :[oldserver.example.com]

Currently, they are both empty. When I have to move a domain to my
server, I populate the map files with the necessary information.

Once DNS has had a chance to propagate, the entries are removed and a
final email message migration is taken place.

I don't think it is a bit ugly as it just works and has for several
years. You just have to remember to remove the entries from the maps
when everything is complete. Otherwise, your server will still attempt
deliveries when it should not.

-- 
Best regards,
 Duane                            mailto:du...@duanemail.org

Reply via email to