Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-31-2006, 05:24 AM   #1
LQ Newbie
Registered: May 2006
Posts: 1

Rep: Reputation: 0
What software to move existing mail off a current pop server to my new server

Hi All

I'm very new to linux so please assume I know nothing about linux. Have installed debian onto a server and vhcs and using that for the mail, opened ports for smtp and pop3 to the server as I want to use it as a mail server for my domain, lets call it

Three mailboxes all with mail sitting in them

currently at an ISP on pop server

Have created the same email accounts in vhcs

Now I know I could download all email to an email client such as thunderbird but user2 and user3 have always used webmail and want to stay with webmail.

How can I, or what software would I use to grab all the email from the current pop mailboxes and transfer them to the new pop mailboxes before I move the domains MX records to the new server? I guess I'm looking for something similar to EFS, but this is a MS Windows only program it seems.

I hope this is clear

Many Thanks
Old 05-31-2006, 06:37 AM   #2
Senior Member
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,494
Blog Entries: 2

Rep: Reputation: 68
I think fetchmail will help you.
Fetchmail can download all e-mails from a POP/IMAP account from Internet to the local mail spool in your new server.

You can put several accounts in a single configuration file, and run the program as root (the most commum usage of fetchmail is to run at an user's basis; each user has your own configuration file, and fetchmail is started when each user logs in in the system).

Here, at my site, I run only a single instance of fetchmail to download e-mail for all my users in a internal server. Then, my users download the e-mail for that local server, not from ISP, because they don't have access to the internet (internal policy). Works like a charm.

There are advantages using this schema: With a single point system, I can filter the user's e-mail, block virus and dangerous attachments, backup the user's mailbox, inspect users activities in mail system to make sure the company resources are not been used for other purposes, I can swicth/replace the user computer without losing any e-mails (the mail-client, MS outlook, is configured to leave messages at the server) etc.
Old 06-01-2006, 09:25 AM   #3
Registered: May 2005
Posts: 64

Rep: Reputation: 15
Fetchmail have it issues
The dates of the e-mails located at the ISP get changed to current date on fetch
(At least clients like Outlook/Outlook Express have issues)

When I migrated mail server the last time I used this excelent Perl script:

As I remember it, it supports POP3 as well

Set it up on a box not running the source or host mail server to avoid leaving the scripts after the completed transfer


imap, mail, migration, pop3, server

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Anybody know of any calender software I can intergrate with my current mail server? cereal83 Linux - Software 6 06-17-2005 07:57 AM
Pop mail server looses pointers bfoddy Linux - Software 2 04-03-2005 02:28 PM
email server won't POP mail... cadkins Linux - Newbie 7 11-02-2004 06:43 PM
Mail, POP, IMAP server !! bpandey Linux - Networking 1 09-06-2004 01:09 PM
pop-3 mail server? sephiroth111 Linux - Software 4 03-03-2003 03:36 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:06 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration