Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-04-2009, 11:43 AM   #1
Registered: May 2009
Posts: 42

Rep: Reputation: 2
Mailserver migration

Hi all,
I'm trying to migrate an existing mailserver running with Debian 3.0 to another machine running Debian 4.0. The first is running sendmail, uw-imapd, ipop3d and the second is running sendmail and dovecot-imapd/popd.
I've copied (rsync -avv) all the mails of the users in the /var/mail directory from one server to the other, but when the users are logged with pop account they retrieve all the mails from the beggining as the mailbox were a new one.
My question is how can I make the pop users not to download all the mails from their mailbox but only the new ones.
p.s all the mails in the mbox-es are marked as RO.

Thanks in advance.
Old 05-04-2009, 01:05 PM   #2
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
If you use imapsync to migrate the mail the flags will be retained on the new system so mails that have already been read will be marked as read and will not be popped again as new mail.
Old 05-05-2009, 04:47 AM   #3
Registered: May 2009
Posts: 42

Original Poster
Rep: Reputation: 2
Thanks for your reply,
I've seen this tool but I think that it is not for this case because like it explains it usage is:

/usr/bin/imapsync \
--host1 --user1 foo --passfile1 /etc/secret1 \
--host2 --user2 bar --passfile2 /etc/secret2

so I have to know all the passwords of all the users to make possible the migration. I have a lot off users and maybe there is another way to just copy the mailboxes and keep the flags unaltered.



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
Mysql 4-5 migration as well as character set migration from latin1 to utf8? helptonewbie Linux - Server 3 05-15-2008 06:15 AM
I need a mailserver rm22 Linux - Software 1 03-27-2008 08:34 PM
got mailserver? fractilian Linux - Software 2 06-28-2003 04:56 PM
EMail Migration from Novell Groupwise to Linux Mailserver jonconley Linux - Software 12 05-02-2003 06:31 PM
About Mailserver RKris Linux - Software 1 08-23-2002 09:07 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:23 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration