Hi,<br><br>I have configured cyrus as specified above<br><br>here is my latest config files<br>------<br>FILE NAME: /usr/lib/sasl2/smtpd.conf<br>------<br>pwcheck_method: auxprop<br>auxprop_plugin: sasldb<br>------<br>FILE NAME: vi /etc/imapd.conf<br>
------<br>configdirectory: /var/lib/imap<br>partition-default: /var/spool/imap<br>admins: cyrus<br>sievedir: /var/lib/imap/sieve<br>sendmail: /usr/sbin/sendmail<br>hashimapspool: true<br>#sasl_pwcheck_method: saslauthd<br>
sasl_mech_list: PLAIN<br>tls_cert_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem<br>tls_key_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem<br>tls_ca_file: /etc/pki/tls/certs/ca-bundle.crt<br># uncomment this if you're operating in a DSCP environment (RFC-4594)<br>
# qosmarking: af13<br>#new entries<br>allowplaintext:yes<br>sasl_pwcheck_method: auxprop<br>sasl_auxprop_plugin: sasldb<br><br>Errors:<br>[root@aws1234]# cyradm --user cyrus --server localhost --auth plain<br>Password:<br>
IMAP Password:<br> Login failed: authentication failure at /usr/lib/perl5/vendor_perl/Cyrus/IMAP/Admin.pm line 120<br>cyradm: cannot authenticate to server with plain as cyrus<br><br><br>Please guide me with the next steps.<br>
<br>Raj<br><br><div class="gmail_quote">On Wed, Oct 19, 2011 at 7:35 PM, Dan White <span dir="ltr"><<a href="mailto:dwhite@olp.net">dwhite@olp.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5">On 19/10/11 15:10 +0530, Rajeshwar Bharathi wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I used yum to insatll cyrus-sasl and cyrus-imapd<br>
The installation went thru fine and I am able to create users using<br>
saslpasswd2<br>
when I start cyrus-imapd server it comes up fine<br>
/etc/init.d/cyrus-imapd start<br>
<br>
<br>
I have the following configuration files.<br>
/etc/imapd.conf<br>
/etc/sysconfig/saslauthd<br>
/etc/sysconfig/sendmail.conf<br>
/usr/lib/sasl2/smtpd.conf<br>
<br>
I have the following configurations in /etc/imapd.conf<br>
<br>
configdirectory: /var/lib/imap<br>
partition-default: /var/spool/imap<br>
admins: cyrus root<br>
sievedir: /var/lib/imap/sieve<br>
sendmail: /usr/sbin/sendmail<br>
hashimapspool: true<br>
sasl_pwcheck_method: saslauthd<br>
sasl_mech_list: PLAIN<br>
tls_cert_file: /etc/pki/cyrus-imapd/cyrus-<u></u>imapd.pem<br>
tls_key_file: /etc/pki/cyrus-imapd/cyrus-<u></u>imapd.pem<br>
tls_ca_file: /etc/pki/tls/certs/ca-bundle.<u></u>crt<br>
# uncomment this if you're operating in a DSCP environment (RFC-4594)<br>
# qosmarking: af13<br>
</blockquote>
<br></div></div>
You mentioned above that you have created your users with saslpasswd2, but<br>
you have 'sasl_pwcheck_method: saslauthd' configured. If you wish to<br>
authenticate against the sasldb2 database, then you'll want:<br>
<br>
sasl_pwcheck_method: auxprop<br>
sasl_auxprop_plugin: sasldb<br>
<br>
And in your /usr/lib/sasl2/smtpd.conf:<br>
<br>
pwcheck_method: auxprop<br>
auxprop_plugin: sasldb<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
when I try to test I get the following errors<br>
test1>>><br>
imtest -m login -p imap localhost<br>
Authentication failed:gebneric error<br>
<br>
test2>>>><br>
<br>
cyradm --user cyrus --server localhost --auth plain<br>
<br>
Password:<br>
IMAP Password:<br>
Login failed: authentication failure at<br>
/usr/lib/perl5/site_perl/5.8.<u></u>6/x86_64-linux/Cyrus/IMAP/<u></u>Admin.pm<br>
line 118<br>
cyradm: cannot authenticate to server with plain as cyrus<br>
</blockquote>
<br></div>
Check your syslog output (auth facility) for any relevant errors.<br><font color="#888888">
<br>
-- <br>
Dan White<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Rajeshwar BM<br>Bangalore INDIA<br>