Converting mbox to cyrus maildir w/ seen state preservation
Miham KEREKES
miham at xenon.bibl.u-szeged.hu
Mon Dec 22 09:13:46 EST 2003
Hi,
I'm about to migrate user mailboxes from unix mbox mailbox format
to cyrus maildir. Unfortunately, users have lots of separate
mailfolders in mbox format, which i should convert, too.
I dig into the archive, and found the mailutil utility for doing this:
mailutil append /path/to/mbox {new.cyrus.server/user=mbox_cyrus_user/authuser=proxy_user/norsh}INBOX
and I figured out, that it is capable to creating mailboxes, too.
I've migrated the users Inbox already successfully, but with the
difference: that time I knew the users password (I created them with a
script before), so I had no need to use the /authuser=XXX option.
Since then they've changed their password, so I don't know them.
(Yes, I forgot about their ~/mail mailboxes :-( )
However, this time I need to use the /authuser=XXX, if I'm not mistaken.
When I try this:
mailutil create {cyrus.server.name.or.ip/user=targetuser/authuser=cyrus_admin_user/norsh}INBOX.subfolder
I got the following errormessage:
Can't do /authuser with this server
Can't do /authuser with this server
I already strace'd and ltrace'd the process in order to know what is the
problem, but all I got to know, that mailutil parsing the output of the
CAPABILITY command, and decides whether the server is capable of
authuser.
I don't have much time for this conversion, so I had no time to look
into the source, yet.
I have the following capabilities:
* CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS
NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND
SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE AUTH=NTLM
AUTH=DIGEST-MD5 AUTH=CRAM-MD5 LISTEXT LIST-SUBSCRIBED ANNOTATEMORE
Can anyone give me a good point? I mean, which cap missing, how can I
enable, etc.
Thanks in advance,
Miham Kerekes.
--
*************************************************************
*System Administrator / University Library, Szeged / HUNGARY*
*****************[ miham at bibl.u-szeged.hu ]******************
More information about the Info-cyrus
mailing list