First time setting this up, so I'm trying to get my arms around this... SLES9, already successfully running Postfix, amavis, clamav, spamassassin, Cyrus and Squirrelmail. So far, all mail users have a UNIX account in LDAP. I'd like to set up mail users so that they don't have a UNIX account. I've tried to configure SASL, but it is not working. Can some kind soul show me the error of my ways? Here's what I've done (after checking that saslauthd was indeed running...) 1. Added to /etc/imapd.conf "sasl_pwcheck_method = saslauthd" (without quotes of course...) 2. Ran as root: saslpasswd2 -c testuser and gave the account a password. 3. Ran as root cyradm to create a new mailbox for testuser and gave the cyrus user ACL rights = lrswipcda (running listacl from the cryadm prompt shows testuser also has these ACL rights). 3a. Reboot. 4. Opened a browser window, got to the Squirrelmail login window and tried to log in, while running tail -f /var/log/messages in another window. 5. /var/log/messages shows the following: Feb 24 14:33:54 inside PAM-warn[4122]: function=[pam_sm_authenticate] service=[imap] terminal=[<unknown>] user=[testuser] ruser=[<unknown>] rhost=[<unknown>] Feb 24 14:33:54 inside saslauthd[4122]: DEBUG: auth_pam: pam_authenticate failed: User not known to the underlying authentication module Feb 24 14:33:54 inside saslauthd[4122]: do_auth : auth failure: [user=testuser] [service=imap] [realm=] [mech=pam] [reason=PAM auth error] Feb 24 14:33:54 inside imap[30088]: badlogin: localhost [127.0.0.1] plaintext trouble SASL(-13): authentication failure: checkpass failed Looks like I need to tweak PAM somehow? There is no smtp file in /etc/pam.d, which I saw on some other list postings. Thanks! Mark -- _________________________________________________________ A Message From... L. Mark Stone Reliable Networks of Maine, LLC "We manage your network so you can manage your business." 477 Congress Street Portland, ME 04101 Tel: (207) 772-5678 Web: http://www.rnome.com
participants (1)
-
L. Mark Stone