On Saturday 29 April 2006 02.00, John Brahy wrote:
> How do I configure cyrus imapd to retrieve mail from normal unix mailboxes
> and validate against the unix password? I have been trying to find info on
> it and I can't find anything that works with v2.2.12 from 3.8 ports. Can
> someone point me in the right direction?
>
> Thanks,
>
> John

To authenticate against OpenBSD unix password login you can do....

>From /etc/imapd.conf:
--snip--
sasl_pwcheck_method: saslauthd
sasl_mech_list: PLAIN LOGIN
allowanonymouslogin: no
--snip--

And probably something like this in /etc/rc.local:

if [ X"${saslauthd}" == X"YES" -a -x /usr/local/sbin/saslauthd ]; then
       echo -n " saslauthd";     /usr/local/sbin/saslauthd -a getpwent
fi


But the mailstore is a sealed store that has nothing to do with what you have 
in the unix OS. And I can't see the connection to your mbox mailboxes in the 
OS at all.

To retrieve mail from your ordinary mbox files in the OS you could use imap-uw 
Dovecot or similar instead. But personally I think Cyrus is way better. I 
retrieve my mail to Cyrus imap through sendmail with the cyrus mailer 
enabled.


Hope this helps...

Regards
Per-Olov
--
GPG keyID: 5231C0C4
GPG fingerprint: B232 3E1A F5AB 5E10 7561 6739 766E D29D 5231 C0C4

Reply via email to