Koozali.org: home of the SME Server

foraward all existing email from maildir folders

Offline tariqf

  • *****
  • 179
  • +0/-0
foraward all existing email from maildir folders
« on: October 02, 2006, 11:44:46 AM »
I have about 20 users with quite a lot of emails in their maildir folders on our sme 7 server. I have recently added a new mailserver and have got all incoming mail forwarded from the sme box to the new mail server no problem. My problem now is I need to forward all the emails that are already in the individual's mailboxes before the forwarding was set.

Is there a quick way or script I can use to forward all the users exising emails to the new server? I know I can just login to horde and forward them manually but his would take too long.

Any advice much appreciated. Thanks

Offline mmccarn

  • *
  • 2,656
  • +10/-0
foraward all existing email from maildir folders
« Reply #1 on: October 02, 2006, 02:35:43 PM »
imapcopy looks easy to setup and use:
http://forums.contribs.org/index.php?topic=31454.0
http://forums.contribs.org/index.php?topic=18279.0

If you want a real "project", you can configure (including compiling) imapsync from http://freshmeat.net/projects/imapsync/