|
| | Subject: | Re: retiring a mail server | | Group: | Postfix-users | | From: | (Wietse Venema) | | Date: | 27 Mar 2008 |
John Baker:
> Hi all
>
> I've rebuilt my system on two new mail servers. I want to clear all the
> mail out of the old one, stop taking connections and shut it down. What
> is the best way to do this to insure that mo mail is possibly lost?
Assuming that the old and new MTAs use different myhostname settings
(otherwise mail the SMTP client will report a mailer loop and bounce
all mail):
1) turn off smtpd in master.cf
2) specify relayhost=[the.new.host] in main.cf, including the []
3) postfix reload
Wietse
|