On Thu, 13 May 2004, Casey Allen Shobe wrote:Sounds like I want IMAPdir. How can I go about converting a huge amount of
folders and mail to IMAPdir? Is there a script for it or do I just go move
things one by one, removing the prefixing dots and putting the root cur/new/
tmp in a new folder called INBOX? Is the path to the delivery location only
stored in one place in qmail? And again in bincimap.conf?
We need such a script, it would be a quite useful contribution if someone could write it. For the sake of keeping the back door open, there should be both a IMAPdir->Maildir++ script and a Maildir++->IMAPdir script.
It shouldn't be too hard to write one :-).
I am willing to write one.
My biggest concern is how to handle delivery instrucutions squirreled away in .qmail* files, .mailfilter files, etc. Any ideas other than recreating the Maildir++ depot with soft links to the IMAPdir depot (or vice versa as the case may be)?
My current thoughts are: 1. Disable mail delivery & pick up for the user 2. Build the IMAPdir from the Maildir 3. Move Maildir to Maildir.bak 4. Build a new Maildir with links to IMAPdir 5. Enable mail delivery & pick up for the user
Of course, switch all occurances of IMAPdir with Maildir for converting the opposite direction. One more gotcha is that to figure out how to convert INBOX siblings in IMAPdir to Maildir++ folders.
I also need to find out what MTA's are being used with Binc (other than Qmail) and to find out how to disable/enable mail delivery on a per-user basis with those MTA's. For that matter, how does on disable Binc on a per-user basis.
Have I forgotten anything? Am I making this too complex?
Finally, any strong objections to my doing this in perl?
Regards, Henry
Andy
-- Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg Author of Binc IMAP | "It is better not to do something http://www.bincimap.org/ | than to do it poorly."
-- Henry Baragar Instantiated Software Inc. http://www.instantiated.ca
