Re: Switch to new server and forward existing mail from old server
Am 12.09.2011 16:50, schrieb Clarence Brown: Hi all: I've tried googling, and found a ton of stuff, but nothing specific to my question. I've got an ancient postfix server with a couple virtual domains, been chugging along solid and stable for years. Want to move to a new server at a different IP, Have the old server forward / transfer any mail collected in it's mail boxes to the new server, and not have the users have to make any changes to their email clients or loose any email. Is there any way to tell the OLD Postfix to grab a user's mail box and forward all the messages in it to that user at the NEW Postfix? I'm concerned that if a user last checked email Friday afternoon at 4:00, and I do the switch over say Saturday Night, any email collected in the interim will be stuck on the old server without manual intervention already delivered mails has nothing to do with MTA / Postfix if you have a IMAP-Server use imapsync which is scriptable and has a lot of functions signature.asc Description: OpenPGP digital signature
Re: Switch to new server and forward existing mail from old server
Hi Clarence we deliver mail into Maildir i.e. one file per mail. The maildirs are usually under /var/spool/maildir. If I have to copy all of the mail to a new server, i just do rsync -avure ssh /old/maildir/* new_server:/new/maildir and no problem. suomi On 2011-09-12 16:50, Clarence Brown wrote: Hi all: I've tried googling, and found a ton of stuff, but nothing specific to my question. I've got an ancient postfix server with a couple virtual domains, been chugging along solid and stable for years. Want to move to a new server at a different IP, Have the old server forward / transfer any mail collected in it's mail boxes to the new server, and not have the users have to make any changes to their email clients or loose any email. Is there any way to tell the OLD Postfix to grab a user's mail box and forward all the messages in it to that user at the NEW Postfix? I'm concerned that if a user last checked email Friday afternoon at 4:00, and I do the switch over say Saturday Night, any email collected in the interim will be stuck on the old server without manual intervention. Thanks Cla.
Re: Switch to new server and forward existing mail from old server
Thanks suomi On rare occasions I have had to manually mess around with the mail files, ie using an editor to remove a corrupt message messing up pop3. There is one file per user mailbox. One complication I just realized is that I believe the actual user account login information may change, the new server will be running ISPConfig, and I'm not sure how it handles the email account naming. I'll have to check. hopefully the mailbox format has not changed. I'm guessing it probably hasn't. Cla. On 9/12/2011 12:02 PM, postfix wrote: Hi Clarence we deliver mail into Maildir i.e. one file per mail. The maildirs are usually under /var/spool/maildir. If I have to copy all of the mail to a new server, i just do rsync -avure ssh /old/maildir/* new_server:/new/maildir and no problem. suomi On 2011-09-12 16:50, Clarence Brown wrote: Hi all: I've tried googling, and found a ton of stuff, but nothing specific to my question. I've got an ancient postfix server with a couple virtual domains, been chugging along solid and stable for years. Want to move to a new server at a different IP, Have the old server forward / transfer any mail collected in it's mail boxes to the new server, and not have the users have to make any changes to their email clients or loose any email. Is there any way to tell the OLD Postfix to grab a user's mail box and forward all the messages in it to that user at the NEW Postfix? I'm concerned that if a user last checked email Friday afternoon at 4:00, and I do the switch over say Saturday Night, any email collected in the interim will be stuck on the old server without manual intervention. Thanks Cla. -- Clarence Brown Granite Ventures, Inc. 443-668-7326
Re: Switch to new server and forward existing mail from old server
On Mon, Sep 12, 2011 at 12:38 PM, Clarence Brown clabrown...@gmail.com wrote: On rare occasions I have had to manually mess around with the mail files, ie using an editor to remove a corrupt message messing up pop3. There is one file per user mailbox. [ ya, no longer on topic for postfix... ] Just be sure that the message store is using the same file types: http://en.wikipedia.org/wiki/MH_Message_Handling_System http://en.wikipedia.org/wiki/Mbox http://en.wikipedia.org/wiki/Maildir