David Chait wrote:

>Greetings,
>       I am attempting to migrate from a Courier-IMAP based system to a Cyrus IMAP
>based implimentation, however I am running into several authentication
>related problems. Ideally I would like to use PAM authentication, however I
>have yet been able to find documentation which would specify how to compile
>for that sucessfully, and secondly is there any utility available to migrate
>standard maildirs to Cyrus' native format, or does that need to be a manual
>process?
>
>Thanks,
>David Chait
>
>
I use PAM authentification with the pwcheck daemon. Here are the options 
I used when compiling in order to do that:

when configuring sasl (I have version 2.1.2):

./configure [...] --with-pwcheck

when configuring imapd (I have version 2.1.4):

./configure  [...] --with-auth=unix


Here is the important line in /etc/imapd.conf:

sasl_pwcheck_method: pwcheck


See also the responses to Jim Worke about using cyradm with PAM 
authentification...


There are several ways to migrate your mailboxes. Some scripts are given 
here:

http://www.oreilly.com/catalog/mimap/chapter/ch09.html

But they didn't work for us because of some Imap errors withe the Imap 
module used by the scripts. So instead of using this module to append 
the mails to the mailboxes, we modified the script to cat them to 
sendmail. Unfortunately I don't have this script anymore, but it's not 
hard to figure out how to do it by modifying the script given on the 
O'Reilly page linked above. (We just wrote the mails individually to a 
temporary file and then executed `cat tempfile | mail` for each mail... 
Of course, we did that on the new server to save time and bandwidth.)

Best regards and lots of fun with your migration :o)

Alexandre Suter


Reply via email to