Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 14th October 2010, 09:18
TomC TomC is offline
Member
 
Join Date: Mar 2008
Posts: 37
Thanks: 2
Thanked 0 Times in 0 Posts
Default Postfix should send mails to two servers

Hi Folks,

being in the process of moving my ISPConfig installation to another server (which is going to have the same hostname.domainname, just another IP address), I was wondering if there is a way to create a Postfix transport that

1. sends every mail to the IP address of the new server (which is easy, I guess by putting "* smtp:[<IP address of new server>]" into /etc/postfix/transport)

and (!!!)
2. continues to deliver the mail locally, as Postfix always used to.

The two servers are configured identically - with all domainnames, users, configs, etc.

The reason for this question: I hope that this way it wouldn't be an issue how long the DNS transition of the domainnames would take. Mail-wise, the two machines would always be in sync. The user can do an IMAP connect to the old or the new server and will always have the identical inbox.

Could anybody give me a pointer on how to confure a postfix transport that would do exactly this?! Or maybe you have other ideas on how to solve this issue.

Thanks and regards,
Tom
Reply With Quote
Sponsored Links
  #2  
Old 15th October 2010, 14:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
 
Default

That's a good question... Maybe this can be achieved by sharing the same file system on both servers, e.g. with NFS.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sneaking suspicion my postfix config has gone awry mjbarfoot Installation/Configuration 7 24th August 2010 12:23
ERROR: Connection dropped by IMAP server. [Centos 5.4, courier imap,squirrel, etc] darevil HOWTO-Related Questions 7 9th June 2010 14:49
Sending emails with custom FROM email address merisor Installation/Configuration 4 8th February 2010 16:27
localhost postfix/master: fatal: bind 127.0.0.1 port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 17:39
Postfix send mails to 2 different locations chameleon Installation/Configuration 3 7th April 2008 18:04


All times are GMT +2. The time now is 13:17.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.