Ok, I think I know the problem here. The default pwcheck method from the
rpm was PAM. However, PAM has a restriction that users besides root may
not make password comparisons against any passwords except their own.
Hence, since the IMAP server runs as Cyrus, it cannot go through PAM to
verify any other users. If you change the pwcheck method in
/usr/lib/sasl/Cyrus.conf to something like the sasldb, it should work. 

"Georges J. JAHCHAN, P. Eng." wrote:
> 
> Need assistance to get cyrus-sasl-1.5.24 (from rpm) & cyrus-imapd-2.0.12
> (compiled according to package instructions) to work properly on RH7.0 Pro
> Server install.
> 
> 'master' process seems to start OK, and initially spawns several imap,
> imapd -s, pop3d, pop3d -s + lmtpd processes (all initiated by user 'cyrus').
> 
> saslpasswd will create CRAM-MD5, DIGEST-MD5 & PLAIN passwords in sasldb (or
> so it seems from a hex view of the file) and evidenced in the
> '/var/log/messages' file.
> 
> 'cyradm -u cyrus imapserverIP' connects to the imap server and seems to be
> behaving normally, allowing interactive creation of users.
> 
> When I telnet to the imap server on port 143, the only user who can login is
> 'cyrus'. All other users (with saslpasswd assigned and mailbox created) are
> not recognized as valid users by the server. 'imtest' will also reject any
> added user but 'cyrus' and generate a badlogin in '/var/log/imapd'.
> 
> 'netstat -an' shows the server as listening (amongst many others) to TCP
> ports 25, 110, 143, 993, 995...
> 
> Am I missing a step in the creation of a userID + password + mailbox?
> 
> Thanks for any insight.

--
Todd Nemanich           [EMAIL PROTECTED]

"Protecting the opulent and staging moral standard,
They expect redemption of character and self growth"
Bad Religion - Inner Logic

Reply via email to