imapsync-Options for Kolab?
Christian Rößler
Roessler at FuH-E.de
Wed Sep 9 11:33:47 CEST 2009
Good morning,
I am trying to transfer mails from an old mailserver, using cyrus
2.0.16, to a Kolab 2.2.0. For this task i use imapsync, and now I am
fiddling with the options:
If I use (mail is the old server, kolab the new, all in one line):
imapsync --host1 mail --user1 roe --passfile1 /home/roe/mail_passwort
--host2 kolab --user2 kro --passfile2 /home/roe/kolab_passwort
--folderrec INBOX --prefix2 INBOX. --sep2 .
...the mails in the INBOX-Folder will be transferred ok. But not the
sub-folders, eg. one folder called 'Ablage':
| From Folder [INBOX.Ablage]
| To Folder [INBOX.Ablage]
| To Folder INBOX.Ablage does not exist
| Creating folder [INBOX.Ablage]
| Couldn't create [INBOX.Ablage]3889 NO Permission denied
Log file would say:
| Sep 09 11:23:40 kolab <debug> imap[17816]: append_fromstage: message
| 2084 added to kolab.fuhintern.de!user.kro
(...these mails directly in the base folder are ok).
But not the sub-folders:
| Sep 09 11:23:40 kolab <debug> imap[17816]: myfetch: starting txn
| 2147483823
| Sep 09 11:23:40 kolab <debug> imap[17816]: abort_txn: aborting txn
| 2147483823
And the strange thing is that I can add sub-folders with no problem
using a mail-program, eg. kmail, with exactly the same credentials.
Mailbox rights would be:
| kolab.fuhintern.de!user.kro 0 default kro at kolab.intern.de rswipkxtecda
If I do (without --prefix2 INBOX. and --sep2 .):
imapsync --host1 mail --user1 roe --passfile1 /home/roe/mail_passwort
--host2 kolab --user2 kro --passfile2 /home/roe/kolab_passwort
--folderrec INBOX
a subfolder named INBOX would be written and mails transferred into it
(so then the rights are sufficient, as it seems). But that is obviously
not what I need.
All in all I think I have some option missing when using imapsync. The
wiki gave me some helpful tips; but not too many. So, please, can
someone give me some hints?
Of course I will submit any wanted information:).
Best regrads,
Christian
More information about the users
mailing list