1. Ok add --exclude "Public Folders" and --exclude "Other Users"
2. Yes, sure
$RCSfile: imapsync,v $ $Revision: 1.219 $ $Date: 2007/04/04 09:32:20 $
Here is a linux system Linux server 2.6.18-4-686 #1 SMP Wed May 9 23:03:12 UTC 2007 i686)
with perl 5.8.8
Mail::IMAPClient version used here is 2.2.9
Command line used :
/usr/bin/imapsync --host1=mail.domain.ru --user1=user1@domain.ru --password1=xxxxx --host2=mail.domain.ru --user2=user2 --password2=xxx --port2=10143 --noauthmd5 --exclude Public Folders --regexflag s/JunkRecorded//g --regexflag
s/\$Junk//g --regexflag s/\$NotJunk//g --regexflag s/NotJunk//g --regexflag s/Junk//g --regexflag s/\\X-Has-Attach//g
--regexflag s/\\X-Owner//g --regexflag s/\\X-Forwarded//g --syncinternaldates --exclude Other Users
will try to use LOGIN authentication on host1
will try to use LOGIN authentication on host2
From imap server [mail.domain.ru] port [143] user [user1@domain.ru]
To imap server [mail.domain.ru] port [10143] user [user2]
Banner : * OK Scalix IMAP server 11.1.0.10849 ready on server.domain.ru
Host mail.domain.ru says it has CAPABILITY for AUTHENTICATE LOGIN
Success login on [mail.domain.ru] with user [user1@domain.ru] auth [LOGIN]
Banner : * OK Dovecot ready.
Host mail.domain.ru says it has CAPABILITY for AUTHENTICATE LOGIN
Success login on [mail.domain.ru] with user [user2] auth [LOGIN]
From capability : ID NAMESPACE AUTH=DIGEST-MD5 IDLE X-SCALIX-3 LOGIN-REFERRALS X-SCALIX-1 UIDPLUS IMAP4 IMAP4REV1 AUTH
=CRAM-MD5 X-SCALIX-2 AUTH=GSSAPI AUTH=PLAIN X-SCALIX-FOLDER-STATUS AUTH=LOGIN X-DELEGATE ACL X-SCALIX-4
To capability : STARTTLS NAMESPACE MULTIAPPEND SASL-IR AUTH=PLAIN IDLE AUTH=LOGIN LOGIN-REFERRALS UNSELECT LITERAL+
SORT CHILDREN IMAP4REV1 THREAD=REFERENCES
From state Authenticated
To state Authenticated
Excluding folders matching pattern 'Public Folders'
Excluding folders matching pattern 'Other Users'
From separator and prefix : [/][]
To separator and prefix : [.][]
++++ Calculating sizes ++++
....etc
++++ Statistics ++++
Time : 3246 sec
Messages transferred : 1550
Messages skipped : 0
Total bytes transferred: 186261964
Total bytes skipped : 0
Total bytes error : 873135 <<<<WTF?
Detected 1 errors
Please, rate imapsync at
http://freshmeat.net/projects/imapsync/
?Happy with this free, open source and gratis GPL software?
Feel free to thank the author by giving him a book:
http://www.amazon.com/gp/registry/wishl ... NDIH3P7R7/
3 Errors
Use of uninitialized value in split at /usr/share/perl5/Mail/IMAPClient.pm line 2634.
Couldn't append msg #3 (Subject:[0]) to folder Sent: Search completed successfully but found no matching messages