Friday, April 12, 2013

Mail transfer with IMAPSYNC

It is a tool to sync, migrate copy mails from source IMAP server to the destination servers.

1) Installation (this need Perl module Mail::IMAPClient supports)

yum install imapsync

2) for more details please use the command ‘imapsync –help’

3) You can transfer mails as follows : (you can use for loop with this)

imapsync --host1 imap.src.fr  --user1 buddy --password1 secret1 --host2 imap.dest.fr --user2 max   --password2 secret2

or

imapsync --host1 server1.example.com --user1 sales@example.com --passfile1 /et

No comments:

Post a Comment