[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Imapsync Flag Problem; CYRUS to Kerio


From "michele at burci dot com" <michele at burci dot com>
Subject Imapsync Flag Problem; CYRUS to Kerio
Date Thu, 12 Feb 2009 22:26:52 +0100

bonsoir a tous

i have a similar problem as in message Imapsync Flag Problem; Postfix to Kerio:

http://www.linux-france.org/prj/imapsync_list/msg00027.html

there seem to be some flags with a blank space in them
or with the $ sign
these mails are not copied

http://www.linux-france.org/prj/imapsync_list/msg00027.html  
the error listings are like these

+ NO msg #169 [JCdKj5/270FhmNH1vhesSA:3484] in INBOX
+ Copying msg #169:3484 to folder INBOX
flags from : [\Seen $ ]["22-Oct-2005 20:05:11 +0100"]
Couldn't append msg #169 (Subject:[Dvdlist Digest, Vol 2, Issue 147]) to folder INBOX: Error trying to append string: 145 NO APPEND Invalid flag list


+ NO msg #175 [fsbSozL5dcq5p5cHfszEHg:18858] in INBOX
+ Copying msg #175:18858 to folder INBOX
flags from : [\Seen $ ]["26-Aug-2005 20:04:49 +0100"]
Couldn't append msg #175 (Subject:[Dvdlist Digest, Vol 2, Issue 131]) to folder INBOX: Error trying to append string: 146 NO APPEND Invalid flag list


+ NO msg #184 [gp5VKdNOnz19Ir3zFAyeTg:4632] in INBOX
+ Copying msg #184:4632 to folder INBOX
flags from: [\Seen $ ]["30-Aug-2005 23:31:21 +0100"]
Couldn't append msg #184 (Subject:[Dvdlist Digest, Vol 2, Issue 135]) to folder INBOX: Error trying to append string: 147 NO APPEND Invalid flag list


+ NO msg #187 [UpaHMvqtQF9/b/u+zXYjvw:2673] in INBOX
+ Copying msg #187:2673 to folder INBOX
flags from : [\Seen $]["01-Aug-2005 17:08:18 +0100"]
Couldn't append msg #187 (Subject:[lists.apple.com mailing list memberships reminder]) to folder INBOX: Error trying to append string: 148 NO APPEND Invalid flag list

and the configuration is this one :

/imapsync --host1 192.168.100.110 --user1 apple --password1 apple --host2 192.168.100.112 --user2 michele --password2 michele --syncinternaldates --sep1 / --prefix1 / --sep2 / --prefix2 "" --regexflag 's/NotJunk//g' --regexflag 's/JunkRecorded//g' --regexflag 's/NonJunk//g'  --regexflag 's/Junk//g' --regexflag 's/$ //g'
$RCSfile: imapsync,v $ $Revision: 1.267 $ $Date: 2008/10/07 11:36:02 $ 
Here is a [darwin] system (Darwin kerio.burci.com 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24 17:39:01 PST 2008; root:xnu-1228.9.59~1/RELEASE_PPC Power Macintosh)
with perl 5.8.8
Mail::IMAPClient  2.2.9
IO::Socket        1.29
IO::Socket::SSL   
Digest::MD5       2.36
Digest::HMAC_MD5  1.01
Term::ReadKey     
Date::Manip       
 and the module Mail::IMAPClient version used here is 2.2.9
Command line used :
/Users/admin/Downloads/imapsync-1.267/imapsync --host1 192.168.100.110 --user1 apple --password1 xxxxx --host2 192.168.100.112 --user2 michele --password2 xxxxx --syncinternaldates --sep1 / --prefix1 / --sep2 / --prefix2  --regexflag s/NotJunk//g --regexflag s/JunkRecorded//g --regexflag s/NonJunk//g --regexflag s/Junk//g --regexflag s/$ //g
Turned ON syncinternaldates, will set the internal dates on host2 same as host1.
TimeZone :[CET]
Will try to use CRAM-MD5 authentication on host1
Will try to use CRAM-MD5 authentication on host2
From imap server [192.168.100.110] port [143] user [apple]
To   imap server [192.168.100.112] port [143] user [michele]
Banner : * OK mail.burci.com Cyrus IMAP4 v2.2.12-OS X 10.4.8 server ready
Host 192.168.100.110 says it has NO CAPABILITY for AUTHENTICATE CRAM-MD5
Error login : [192.168.100.110] with user [apple] auth [CRAM-MD5]: 3 NO Auth method (CRAM-MD5) not enabled

Trying LOGIN Auth mechanism on [192.168.100.110] with user [apple]
Success login on [192.168.100.110] with user [apple] auth [CRAM-MD5]
Banner: * OK Kerio MailServer 6.6.2 IMAP4rev1 server ready
Host 192.168.100.112 says it has CAPABILITY for AUTHENTICATE CRAM-MD5
Success login on [192.168.100.112] with user [michele] auth [CRAM-MD5]
From capability : ID QUOTA STARTTLS ANNOTATEMORE NAMESPACE MULTIAPPEND IDLE UNSELECT SORT BINARY NO_ATOMIC_RENAME UIDPLUS THREAD=REFERENCES IMAP4 IMAP4REV1 MAILBOX-REFERRALS THREAD=ORDEREDSUBJECT ACL LITERAL+ CHILDREN
To   capability : ID QUOTA STARTTLS ANNOTATEMORE AUTH=DIGEST-MD5 STATUS-COUNTERS IDLE ANNOTATE UNSELECT SORT UIDPLUS IMAP4 IMAP4REV1 AUTH=CRAM-MD5 AUTH=PLAIN LISTEXT AUTH=LOGIN ACL LITERAL+
From state Authenticated
To   state Authenticated
Using [/] given by --sep1
Using [/] given by --sep2
Using [/] given by --prefix1
Using [] given by --prefix2
From separator and prefix : [/][/]
To   separator and prefix : [/][]

does anyone have an idea on solving this problem 
thank you in advance

michele at burci dot com