Moving email off a retiring mail server

If you’re already using the mailertable feature of Sendmail, it’s quite easy to move any undelivered email off an old server by adding a mailertable entry like the following:

. relay:[]

where is the IP address of the new mailserver that is now in place.

The dot entry is the wildcard for the mailertable entries that will match any resolvable host name.

Not sure how to deal with host names that are temporarily not resolvable, but since all the ones I had to deal with were bounces from spam, I ended up just deleting them.

Tuesday November 4, 2003   ·   Permalink