[SLUG] Converting courier-imap Maildir to Cyrus Maildir structure
Hi All, Does anyone know of a way to convert Courier-IMAP Maildirs (including folders) to Cyrus Maildir? Cyrus uses numbers for each message (ie 1. 2. 3.) so renaming them is trivial, but does Cyrus then simply scan the folder for all emails when a user logs in or do you have to run some command to re-write the Cyrus index files for that folder? I guess converting folders and the rest wouldn't be too hard either using Perl. I'm trying to switch to Cyrus without causing any disruption (eg, I don't want emails to appear as 'new' next time the user logs in) Thanks in advance. Regards, Gonzalo -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Converting courier-imap Maildir to Cyrus Maildir structure
no i don't believe so. i use uwimapd (mailfile not maildir) and state is maintained when viewing through different clients, in fact different clients on different machines. brett Adam Hewitt wrote: I dont know about the Maildirs but I think you will find that it is actually the client that knows whether the mail has been read or not. I remember formatting my PC and reinstalling before and when I checked my mail they were all unread. Adam. On Wed, 2003-07-09 at 14:28, Gonzalo Servat wrote: Hi All, Does anyone know of a way to convert Courier-IMAP Maildirs (including folders) to Cyrus Maildir? Cyrus uses numbers for each message (ie 1. 2. 3.) so renaming them is trivial, but does Cyrus then simply scan the folder for all emails when a user logs in or do you have to run some command to re-write the Cyrus index files for that folder? I guess converting folders and the rest wouldn't be too hard either using Perl. I'm trying to switch to Cyrus without causing any disruption (eg, I don't want emails to appear as 'new' next time the user logs in) Thanks in advance. Regards, Gonzalo -- Brett Fenton General Manager NetRegistry Pty Ltd ___ http://www.netregistry.com.au/ Tel: +61 2 96996099 | Fax: +61 2 96996088 PO Box 270 Broadway | NSW 2007, Australia Your Total Internet Business Services Provider Trusted by 10,000s of Oz Businesses Since 1997 This email is from NetRegistry Pty Ltd. The contents of this message are commercial and in confidence to the intended addresseee. The message may contain copyrighted and/or legally priviledged information. No person or entity other than the intended recipient may read, print or store this message, including any and all attached files. The intended recipient may not forward this message to any third party without express written permission from NetRegistry Pty Ltd. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Converting courier-imap Maildir to Cyrus Maildir structure
Hi Slightly differnt question, can I create cyrus mail boxes just by creating the directories or do I have to use the cyrus-adm prog. Looking to try and sync cyrus with getent passwd Alex On Wed, Jul 09, 2003 at 02:28:20PM +1000, Gonzalo Servat wrote: Hi All, Does anyone know of a way to convert Courier-IMAP Maildirs (including folders) to Cyrus Maildir? Cyrus uses numbers for each message (ie 1. 2. 3.) so renaming them is trivial, but does Cyrus then simply scan the folder for all emails when a user logs in or do you have to run some command to re-write the Cyrus index files for that folder? I guess converting folders and the rest wouldn't be too hard either using Perl. I'm trying to switch to Cyrus without causing any disruption (eg, I don't want emails to appear as 'new' next time the user logs in) Thanks in advance. Regards, Gonzalo -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug pgp0.pgp Description: PGP signature -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Converting courier-imap Maildir to Cyrus Maildir structure
Erm... (Forgive my ignorance if I'm wrong...) Don't Courier, Cyrus and Maildrop all use the same format - ie the Maildir format. (Courier made Maildrop which can be used with Cyrus, right?) Have you copied the dirs, and taken a shot at seeing if they just work? Warmest regards Mike --- Michael S. E. Kraus Network Administrator Capital Holdings Group (NSW) Pty Ltd p: (02) 9955 8000 Adam Hewitt [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 09/07/2003 02:39 PM To:Gonzalo Servat [EMAIL PROTECTED] cc:SLUG [EMAIL PROTECTED] Subject:Re: [SLUG] Converting courier-imap Maildir to Cyrus Maildirstructure I dont know about the Maildirs but I think you will find that it is actually the client that knows whether the mail has been read or not. I remember formatting my PC and reinstalling before and when I checked my mail they were all unread. Adam. On Wed, 2003-07-09 at 14:28, Gonzalo Servat wrote: Hi All, Does anyone know of a way to convert Courier-IMAP Maildirs (including folders) to Cyrus Maildir? Cyrus uses numbers for each message (ie 1. 2. 3.) so renaming them is trivial, but does Cyrus then simply scan the folder for all emails when a user logs in or do you have to run some command to re-write the Cyrus index files for that folder? I guess converting folders and the rest wouldn't be too hard either using Perl. I'm trying to switch to Cyrus without causing any disruption (eg, I don't want emails to appear as 'new' next time the user logs in) Thanks in advance. Regards, Gonzalo -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Converting courier-imap Maildir to Cyrus Maildir structure
On Wed, 9 Jul 2003, Gonzalo Servat wrote: Date: Wed, 09 Jul 2003 15:02:51 +1000 From: Gonzalo Servat [EMAIL PROTECTED] To: Andrew McNaughton [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [SLUG] Converting courier-imap Maildir to Cyrus Maildir structure On 9/07/2003 4:50 PM +1200, Andrew McNaughton wrote: If you have a mail client talking to both the old and new servers at once, it might be as easy to just move the messages from one folder to another using that client. The mail would all have to move through the client, but it might be faster than writing a script. IF you can do it with a mail client on the mail server then that stands in for your script pretty well. If it was for only one client, sure (even though not many mail clients copy a bunch of folders across IMAP servers) but we're talking 200+ users here :) Fair enough. You might still find it convenient to look at IMAP client libraries rather than thinking in terms of the mail folders. eg if perl suits you then Mail::IMAPClient 's migrate method looks like the sort of thing you are after. You would have to be able to handle the authentication stuff. Andrew -- No added Sugar. Not tested on animals. May contain traces of Nuts. If irritation occurs, discontinue use. --- Andrew McNaughton In Sydney Working on a Product Recommender System [EMAIL PROTECTED] Mobile: +61 422 753 792 http://staff.scoop.co.nz/andrew/cv.doc -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug