Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
postfix / emergency server / forwarding [SOLVED]
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
Teardrop
Apprentice
Apprentice


Joined: 21 Oct 2002
Posts: 176

PostPosted: Thu Jun 03, 2004 6:40 pm    Post subject: postfix / emergency server / forwarding [SOLVED] Reply with quote

hi

my main email server just crashed 2 weeks ago, so i installed postfix on my laptop with the same setup. now i got my old server back up again. how can i forward the mails on my laptop to my old server without changing much in the mail contents so everyone sees there mails as they should be and not forward from X to X (no rewriting of the header, etc.)

thx a lot for your help.

Teardrop


Last edited by Teardrop on Fri Jun 04, 2004 10:55 am; edited 1 time in total
Back to top
View user's profile Send private message
anderiv
Tux's lil' helper
Tux's lil' helper


Joined: 29 Mar 2004
Posts: 79

PostPosted: Thu Jun 03, 2004 6:43 pm    Post subject: Re: postfix / emergency server / forwarding Reply with quote

Teardrop wrote:
my main email server just crashed 2 weeks ago, so i installed postfix on my laptop with the same setup. now i got my old server back up again. how can i forward the mails on my laptop to my old server without changing much in the mail contents so everyone sees there mails as they should be and not forward from X to X (no rewriting of the header, etc.)

You're probably gonna need to give more info to get a good answer for this question. If you're talking about just a few mailboxes, the easiest thing might be just to do an IMAP->IMAP copy. That makes it really simple. Otherwise, if both the mailservers support the same storage format (mbox/maildir), you should be able to copy the mail over using scp or something of the like.
Back to top
View user's profile Send private message
kashani
Advocate
Advocate


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Thu Jun 03, 2004 7:06 pm    Post subject: Reply with quote

If you're doing .maildir format I'd just copy the files directly over. The X-Sender headers and the like might be a bit odd, but it's not going to affect the users. Just make sure you flush the queue in postfix before shutting it down to catch anything that might still be hanging aroudn undelivered.

Did the same thing recently when I setup our new mail server at work.

kashani
_________________
Will personally fix your server in exchange for motorcycle related shop tools in good shape.
Back to top
View user's profile Send private message
Teardrop
Apprentice
Apprentice


Joined: 21 Oct 2002
Posts: 176

PostPosted: Thu Jun 03, 2004 7:12 pm    Post subject: Reply with quote

it's pretty simple. i just got 2 mailserver with the exact same settings. some mails are on the first one, some on the second one.. now i just wanna get the mails from every account from the second one to the first one.

oups, sry. just saw the second answer.. so i just have to copy each file.. cool. gotta try this..

[UPDATE]

thx, worked like a charm!

Teardrop
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