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 6th February 2009, 19:30
vmos vmos is offline
Member
 
Join Date: Nov 2008
Posts: 57
Thanks: 1
Thanked 0 Times in 0 Posts
Default how to flush out a postfix pop box

Hello, we've got a bunch of servers running postfix for our mail system, the two we're interested in here are the smtp push server and the pop server. Now one of our clients has had problems with their server on site and in order to gett some mail to them I've filtered off some mail from the smtp push server and sent it to accounts I've created on the pop server.
The customer can then bypass their mail server and access the mail through webmail or outlook or whatever, so far so good.
Now at some point in the future (not too far away I think) they're going to want to switch back and we'll point the mail back to their server and it'll start flowing again, no problems anticipated there.
The tricky bit is what to do with the mail that's currently sitting on the pop server, they'll want to access it from their usual accounts and for that the mail will need to be on their server. I could log in to each account and forward each message on, that would probably do the trick but It could get messy, especially as there's loads of mail.

Is there a command or a script that I can use to flush mail out of a pop box and send it on it's way? If I can do that after removing the filter from our push server then it'll get to their server.

any ideas?


/edit I should clarify that although this is primarily a pop3 server, it also does imap and these particular accounts are actually imap

Last edited by vmos; 6th February 2009 at 21:39. Reason: clarifactions
Reply With Quote
Sponsored Links
  #2  
Old 7th February 2009, 17:15
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

You can try imapsync: http://freshmeat.net/projects/imapsync/
__________________
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
  #3  
Old 9th February 2009, 13:04
vmos vmos is offline
Member
 
Join Date: Nov 2008
Posts: 57
Thanks: 1
Thanked 0 Times in 0 Posts
Default .

Thanks for that, it looks very promising. However, it's asking me to install a perl module called imapclient and I'm a little nervous about doing that in case it conflicts with postfix. Has anyone any experience with this module?
Reply With Quote
  #4  
Old 10th February 2009, 18:34
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
 
Default

I don't think a Perl module will interfere with Postfix.
__________________
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
Undelivered Mail Returned to Sender Error202 General 5 7th May 2009 12:14
localhost postfix/master: fatal: bind 127.0.0.1 port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 18:39
Mail System Error - Returned Mail tristanlee85 General 16 16th March 2008 10:40
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 16:47
Verify email setup meekish Installation/Configuration 28 27th October 2006 16:36


All times are GMT +2. The time now is 00:56.


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