Re: [exim] changing to cyrus imap

Góra strony
Delete this message
Reply to this message
Autor: Odhiambo G. Washington
Data:  
Dla: exim-users
Temat: Re: [exim] changing to cyrus imap
* On 28/07/05 15:09 +0200, Margrit Lottmann wrote:

Hi Margrit,

> We're using exim as MTA software and normal POP/IMAP.


What is "normal" POP/IMAP ?? Do you mean mbox?


> Now: changing to Cyrus IMAP


Courier is better, or no??

> Has everybody to write his own scripts to convert
> the "old" inboxfiles/folder to the new cyrus-imap
> format ... or knows anybody web sites that can help.
>
> (I've found some scripts bsd2cyrus
>                  createfolders
>              inboxfer
>              folderxfer
>  in the book : Dianna Mullet ... "Managing IMAP".
>  Has anybody references that are better ???)


If cyrus uses standard Maildir, then there is a script out there called
perfect_maildir (http://perfectmaildir.home-dn.net/perfect_maildir/)
which I used with the following script:


--8<----
#!/usr/local/bin/bash

DIRNAME="/var/spool/virtual"
cd $DIRNAME
for domain in `ls`; do
        cd $domain
        for user in `ls -1`; do
                mv $user $user.mbox
                mkdir $user
                maildirmake $user/Maildir
                ~wash/Administration/perfect_maildir.pl $user/Maildir < $user.mbox
                chown -R exim $user
        chgrp -R mail $user
        chmod 700 $user/Maildir
        find $user/Maildir/ -type f -exec chmod 660 {} \;
        rm -f $user.mbox
        done
 cd $DIRNAME
done


---8<-----


If that doesn't help you, then I am sorry. Never used Cyrus, ever ;)



        cheers
       - wash 
+----------------------------------+-----------------------------------------+
Odhiambo Washington                    . WANANCHI ONLINE LTD (Nairobi, KE)  |
wash () WANANCHI ! com            . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223            . # 10286, 00100 NAIROBI             |
GSM: (+254) 733 744 121            . (+254) 020 313 985 - 9             |
+---------------------------------+------------------------------------------+
"Oh My God! They killed init! You Bastards!"  
                         --from a /. post