Odd problem here! I'm on Fedora 7. I've been running Cyrus IMAP with Exim and squirrelMail for quite a number of years with no problems. After a yum update this morning Squirrel no longer allows me to login.
Some more background:
Squirrel version is 1.4.10a-1.fc7.
Because Squirrel is hosted on the same box as Cyrus I've always simply used PLAIN authentication.
Cyrus is set up to use saslauthd for authentication. This in turn is configured to delegate to pam.
My /etc/pam.d/imap contains:
auth include system-auth
account include system-auth
My /etc/pam.d/system-auth contains:
# This file is auto-generated.
# User changes will be destroyed the next time authconfig is run.
auth required pam_env.so
auth sufficient pam_unix.so nullok try_first_pass
auth requisite pam_succeed_if.so uid >= 500 quiet
auth required pam_deny.so
account required pam_unix.so
account sufficient pam_localuser.so
account sufficient pam_succeed_if.so uid < 500 quiet
account required pam_permit.so
password requisite pam_cracklib.so try_first_pass retry=3
password sufficient pam_unix.so md5 shadow nullok try_first_pass use_authtok
password required pam_deny.so
session optional pam_keyinit.so revoke
session required pam_limits.so
session [success=1 default=ignore] pam_succeed_if.so service in crond quiet use_uid
session required pam_unix.so
Thunderbird is still able to login so I'm led to believe that Cyrus is still okay.
Trying a telnet I get:
# telnet localhost 143
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID STARTTLS LOGINDISABLED] muse.heald.co.uk Cyrus IMAP4 v2.3.9-Fedora-RPM-2.3.9-7.fc7 server ready
* CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID STARTTLS LOGINDISABLED ACL RIGHTS=kxte QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT SORT=MODSEQ THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE CATENATE CONDSTORE IDLE LISTEXT LIST-SUBSCRIBED X-NETSCAPE URLAUTH
001 OK Completed
* BYE LOGOUT received
001 OK Completed
Connection closed by foreign host.
Finally, in Squirrel's config.php I have:
$imap_auth_mech = 'login';
Is it me or is there a newly introduced bug from this morning's update?