Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
replacing postfix box
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
imanassypov
Tux's lil' helper
Tux's lil' helper


Joined: 08 Dec 2005
Posts: 118
Location: Toronto, Canada

PostPosted: Mon Jan 08, 2007 5:28 pm    Post subject: replacing postfix box Reply with quote

If I wanted to replace a running postfix box, what procedure would you suggest? My only concern is that if I down the existing server, it will still have messages on the queue. When the postfix service is down, can I still flush the queue?


Thanks!


-igor
_________________
I.M.
Back to top
View user's profile Send private message
elgato319
Guru
Guru


Joined: 15 Sep 2005
Posts: 546

PostPosted: Mon Jan 08, 2007 5:52 pm    Post subject: Reply with quote

1.1.1.1 - your external ip (ext1)
2.2.2.2 - your external ip (old postfix) (int1)
3.3.3.3 - your external ip (new machine) (int2)

both machines started, int1 is listening on port 25
use your filewall and nat port 25 to int2 (which was previously nated to int1)

wait until int1 has processed all the mails in it´s queue, than you should be able to shut it down

because you have nated port 25 to int2 all new mails that are coming in will be processed by the new mailserver
the old mailserver will still have the right to send mails to the outside, until it´s queue is empty and you shut it down
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum