[CentOS] Re: Which imapd?

Tue Oct 25 07:16:41 UTC 2005
Oliver Falk <oliver at linux-kernel.at>

On 10/25/2005 09:11 AM, Morten wrote:
> 
> Thanks for the interesting discussion. I've decided to try Cyrus first, 
> and if that fails, try one of the proposed alternatives.
> 
> I've configured Exim/Cyrus now, and they run. Only Cyrus doesn't like to 
> authenticate the users. I'd like it to authenticate OS users, so this 
> should be simple. When I try to log on, /var/log/maillog shows:
> 
> Oct 24 23:33:35 obiwan master[7371]: about to exec 
> /usr/lib/cyrus-imapd/imapd
> Oct 24 23:33:35 obiwan imap[7353]: accepted connection
> Oct 24 23:33:35 obiwan imap[7371]: executed
> Oct 24 23:33:35 obiwan imap[7353]: badlogin: localhost.localdomain 
> [127.0.0.1] plaintext morten SASL(-1): generic failure: checkpass failed
> 
> My /etc/imapd.conf has:
> 
> sasl_pwcheck_method: saslauthd
> 
> So I guess the question is, how to make SASL authenticate OS users. Any 
> tips?

/etc/sysconfig/saslauthd
MECH=pam

restart saslauthd /etc/init.d/saslauthd

should do the trick.

You may want to check /etc/saslauthd.conf as well...

-of