Mail server migration and HOLDing mail at Mailscanner

Kevin Miller kevin.miller at juneau.org
Tue Mar 8 18:05:52 UTC 2016


I think I’d probably just change the IP address of the server you’re upgrading.  Your MailScanner box will hold the mail until it can connect again or send an NDR after four days of trying (IIRC).  When you’re upgraded, just switch the IP address back and run mailq on the MailScanner box…

...Kevin
--
Kevin Miller
Network/email Administrator, CBJ MIS Dept.
155 South Seward Street
Juneau, Alaska 99801
Phone: (907) 586-0242, Fax: (907) 586-4588 Registered Linux User No: 307357

From: MailScanner [mailto:mailscanner-bounces+kevin.miller=juneau.org at lists.mailscanner.info] On Behalf Of Simon
Sent: Monday, March 07, 2016 10:09 PM
To: MailScanner Discussion
Subject: Re: Mail server migration and HOLDing mail at Mailscanner

Thanks for the replies, the problem with shutting down all mail is that will also stop mail to our dovecot Mail platform, which is not going to be offline for any migration... So 90% of clients will not receive mail so that I can clean up the dbmail server (that has 10% of clients on it).

A fun tip, the dbmail server uses innodb... I have one table which is 650GB.

Its going to take about 2 hours to migrate the DB over to new MySQL server, after which the table is 70GB. I was just concerned about mail bouncing during that time because it could not deliver to the dbmail server. I might check out postfix retry time..

On Tuesday, 8 March 2016, Jerry Benton <jerry.benton at mailborder.com<mailto:jerry.benton at mailborder.com>> wrote:
If you shut down MailScanner and Postfix, obviously no email will be processed. You can also shut down MailScanner and make sure Postfix is started and it will accept the email and hold it in /var/spool/postfix/hold until you start MailScanner again.

-
Jerry Benton
www.mailborder.com<http://www.mailborder.com>



On Mar 7, 2016, at 8:41 PM, Simon Buchanan <greminn at gmail.com<javascript:_e(%7B%7D,'cvml','greminn at gmail.com');>> wrote:

Hi There,

We have Mailscanner/postfix setup on centos and working well. It delivers mail to two seperate mail servers (dovecot and dbmail) depending on the domain (most clients are on our new dovecot platform, a few are on our old dbmail platform).

dovecot is delivered via smtp:xxx.xxx.xxx.xxx
dbmail is delivered via a dbmail-lmtp service: dbmail-lmtp:xxx.xxx.xxx.xxx:24

We are about to perform a lengthy migration of the dbmail server, and need to simply stop Mailscanner processing mail for dbmail  until we are back up and running again. Is there anyway todo this, or is this a postfix question?

Thanks!

Simon



--
MailScanner mailing list
mailscanner at lists.mailscanner.info<javascript:_e(%7B%7D,'cvml','mailscanner at lists.mailscanner.info');>
http://lists.mailscanner.info/listinfo/mailscanner

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20160308/b4e95222/attachment-0001.html>


More information about the MailScanner mailing list