From: Tomas K. <to...@us...> - 2005-10-07 05:47:20
|
>> > Hello, there, >> >> > I have a problem with Squirrelmail - username and password. >> >> > SuSE 9.3, Apache2, Squirrelmail 1.4.2, IMAP UW >> >> >> > At login-screen squirrelmail responds: unknown user - bad password. >> >> > Usernames are found in squirrelmail/data including .htaccess with deny >> from all >> >> What usernames are found in the .htaccess file? uw-imap doesn't look >> for the usernames in a .htaccess file. >> >> - -- >> Jonathan Angliss > > Hi, > > there must be a significant difference between SQUIRRELMAIL and > NOCC-Webmail handling passwords on my UW-IMAP > > Both are in > /srv/www/htdocs/nocc > and > /srv/www/htdocs/squirrelmail > > With http://www.mydomain.intra/nocc the NOCC starts, accepts passwords, > receives and sends mails. > > With http://www.mydomain.intra/squirrelmail the SQUIRRELMAIL starts, but > ends at username and password-check. > ---------------------------------------------------- > With telnet mydomain.intra 143 the telnet-banner says: > > * OK [CAPABILITY IMAP4REV1 LITERAL+ SASL-IR LOGIN-REFERRALS STARTTLS > LOGINDISABLED] That's your problem. SquirrelMail can't use STARTTLS and needs LOGIN support. http://www.squirrelmail.org/docs/admin/admin-10.html#ss10.3 > (On our old 8.2-Server it says: Capability imap4rev1 login-referrals > auth=login ... > ---------------------------------------------------- > > In /etc/pam.d and /etc/xinetd.d there are files called IMAP, no other > *.conf-files are found, that refer to imap: ... > # > # imap - imap mail daemon > service imap > { > socket_type = stream > protocol = tcp > wait = no > user = root > server = /usr/sbin/imapd > flags = IPv4 > } > > # > # imap - imap mail daemon over tls/ssl > # > service imaps > { > disable = yes > socket_type = stream > protocol = tcp > wait = no > user = root > server = /usr/sbin/imapd > flags = IPv4 > } Remove disable=yes part from imaps service, restart xinetd and configure SquirrelMail to use IMAP over SSL (http://www.squirrelmail.org/docs/admin/admin-5.html#ss5.4). or create /etc/c-client.cf file. You might need /etc/c-client.cf anyway, if you run public imap server. -- Tomas |