cyrus-imapd pop3 authentication

Simon Matter simon.matter at ch.sauter-bc.com
Thu Jun 23 01:41:06 EDT 2005


> Am Mi, den 22.06.2005 schrieb Vijay Kumar um 17:23:
>
>> I am running cyrus-imapd-2.2.10 on RHEL 4 system.
>
> Update to the current update version of that package!
>
>> We have created a user test with passwd test and we want to this user
>> to receive email.
>>
>> When we do a ´telnet <ip> 110 and then give the USER and PASS commands
>> , we are notable to login using the user id and passwd. Error given is
>> : -[ERR] AUTH Invalid Login.
>>
>>
>>
>> The logs show an error ´unknown password identifier¡
>>
>>
>>
>> Hereÿs the imapd.conf  file :
>>
>>
>>
>> configdirectory: /var/lib/imap
>>
>> partition-default: /var/spool/imap
>>
>> admins: cyrus root
>>
>> sievedir: /var/lib/imap/sieve
>>
>> sendmail: /opt/postfix/sbin/sendmail
>>
>> hashimapspool: true
>>
>> sasl_pwcheck_method:passwd
>
> False, change that to "saslauthd"

At least 'shadow' which was also tried should work without saslauthd being
involved. I got the impression that the real problem is SELinux here. Can
you try

sasl_pwcheck_method: shadow

again, disable SELinux, reboot, and test again?

Simon

>
>
>> sasl_mech_list: PLAIN
>>
>> tls_cert_file: /usr/share/ssl/certs/cyrus-imapd.pem
>>
>> tls_key_file: /usr/share/ssl/certs/cyrus-imapd.pem
>>
>> tls_ca_file: /usr/share/ssl/certs/ca-bundle.crt
>>
>>
>>
>> I have tried replacing the sasl_pwcheck_method with shadow and unix
>> keywords.
>>
>>
>>
>> How can we configure support for /etc/passwd file, so that the same
>> can be checked ?
>
> Do above change and make sure saslauthd is running: service saslauthd
> start; chkconfig saslauthd on. saslauthd is configured through
> /etc/sysconfig/saslauthd.
>
>> Do we need to create Maildir in every users home directory ?
>
> No, Cyrus-IMAPd has his own central mail storage.
>
>> Vijay.
>
> Alexander
>
>
> --
> Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
> legal statement: http://www.uni-x.org/legal.html
> Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.27_FC2smp
> Serendipity 17:48:06 up 1 day, 2:02, load average: 0.56, 0.66, 0.63
>
> ---
> Cyrus Home Page: http://asg.web.cmu.edu/cyrus
> Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>
>


---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list