Re: Authenticating Mail Users

From: Eugene Chow (no email)
Date: Wed Mar 05 2003 - 02:05:26 EST


Hi,
     I am using Horde/IMP on RedHat 7.3 with Cyrus IMAP. I am having problems authenticatin users. I folowed the Cyrus howto and added users.

The problem is that it is authenticating users from the /etc/passwd and shadow file and not from sasldb and mails go to the Cyrus Imap mail directories, which works ok.
With this method I have to create the user both from cyradm and useradd.
I want to get users authenticated from the sasldb file and not /etc/passwd and shadow.

Which version of Cyrus IMAP are you using? These instructions are for Cyrus IMAP v2.1. If you want users to be auth-ed from the sasldb2 file, the parameter

sasl_pwcheck_method: auxprop

must be defined in this manner. Then create users using the saslpasswd2 mechanism.

This is what my imapd.conf shows
[root@linux /]# cat /etc/imapd.conf
configdirectory: /var/lib/imap
partition-default: /var/spool/imap
admins: cyrus
allowanonymouslogin: no
sieveuserhomedir: no
sievedir: /var/lib/imap/sieve
sendmail: /usr/sbin/sendmail
hashimapspool: true
sasl_sasldb_path: /etc/sasldb
sasl_pwcheck_method: saslauthd
sasl_mech_list: PLAIN
tls_cert_file: /usr/share/ssl/certs/cyrus-imapd.pem
tls_key_file: /usr/share/ssl/certs/cyrus-imapd.pem
[root@linux /]#

regards
Krishna
http://www.KrisinDigitalAge.com







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD