Cyrus-imap configuration issue

Dan White dwhite at olp.net
Wed Oct 19 10:05:13 EDT 2011


On 19/10/11 15:10 +0530, Rajeshwar Bharathi wrote:
>I used yum to insatll cyrus-sasl and cyrus-imapd
>The installation went thru fine and I am able to create users using
>saslpasswd2
>when I start cyrus-imapd server it comes up fine
>/etc/init.d/cyrus-imapd start
>
>
>I have the following configuration files.
>/etc/imapd.conf
>/etc/sysconfig/saslauthd
>/etc/sysconfig/sendmail.conf
>/usr/lib/sasl2/smtpd.conf
>
>I have the following configurations in /etc/imapd.conf
>
>configdirectory: /var/lib/imap
>partition-default: /var/spool/imap
>admins: cyrus  root
>sievedir: /var/lib/imap/sieve
>sendmail: /usr/sbin/sendmail
>hashimapspool: true
>sasl_pwcheck_method: saslauthd
>sasl_mech_list: PLAIN
>tls_cert_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem
>tls_key_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem
>tls_ca_file: /etc/pki/tls/certs/ca-bundle.crt
># uncomment this if you're operating in a DSCP environment (RFC-4594)
># qosmarking: af13

You mentioned above that you have created your users with saslpasswd2, but
you have 'sasl_pwcheck_method: saslauthd' configured. If you wish to
authenticate against the sasldb2 database, then you'll want:

sasl_pwcheck_method: auxprop
sasl_auxprop_plugin: sasldb

And in your /usr/lib/sasl2/smtpd.conf:

pwcheck_method: auxprop
auxprop_plugin: sasldb

>when I try to test I get the following errors
>test1>>>
>imtest -m login -p imap localhost
>Authentication failed:gebneric error
>
>test2>>>>
>
>cyradm --user cyrus --server localhost --auth plain
>
>Password:
>IMAP Password:
>Login failed: authentication failure at
>/usr/lib/perl5/site_perl/5.8.6/x86_64-linux/Cyrus/IMAP/Admin.pm
>line 118
>cyradm: cannot authenticate to server with plain as cyrus

Check your syslog output (auth facility) for any relevant errors.

-- 
Dan White


More information about the Info-cyrus mailing list