I had a similar problem. It turned out to be permissions on the mailbox files. Each mailbox needed to be owner.group of the user.
ie mailbox paula owner paula group paula -----Original Message----- From: Tomas Kuliavas [mailto:[EMAIL PROTECTED] Sent: 03 April 2006 21:32 To: Cedric Boudin Cc: [email protected] Subject: Re: [SM-USERS] squirrelmail won't login against IMAP NULL password received >>are you sure that workstation and server time is correct and browser >>accepts cookies? >> >> >> > all boxes hanging on ntp and clocks do tick together synchronously > browser accepts cookies. Are you sure that session directory (php session.save_path setting) is writable by web server user? >>>Cedric Boudin wrote: >>>Some Update. >>>having a closer look at what goes through the wire ( that is not quiet >>>correct as I use localhost) >>>I see with tcpdump 3 login coming from evil squirrel the first one with >>>login and password leading to a succesfull answer >>>and the two subsequent just with login WITHOUT Passwd that leads to a >>>negativ response from server. and at the end a >>>Unknown user or password incorrect. >>>Page. >>> >>> >>> >>>Could somebody out there be so kind to tell me where does it go wrong. >>>If this has already been answered many times I did not find the answer >>>nor with google nor at the mailinglist archives nor in the bugtracker. >>> >>>juste tell me where to look. >>> >>>in advance thks >>> >>> >>> >>>>Dear list readers, >>>> >>>>My goal is to have: >>>>-postfix with virtual domains with >>>>-imap for the user to keep/read mail >>>>-administer the the domaisn/users/accounts with web-cyrusadm >>>>-additionally give acces to mail through squirrelmail for web mail >>>>normal mail access imap/pop lan-bound. >>>> >>>>this set up as nothing special or exotic. >>>>Details about sw/versions see below. >>>> >>>>situation >>>>---------- >>>>postfix receives and sends mail -> OK >>>>cyrus21-imapd keeps and gives acces to mail and to different folder -> >>>> OK >>>>imap server can be accessed by clients(tested with >>>>thunderbird,evolution,fetchmail)-> OK >>>>imap is accessible with imtest authentication works, access is granted >>>> -> >>>>OK >>>> >>>>setup is postfix with mysql >>>>saslauthd with pam and pam with mysql >>>> >>>>Everything on same host >>>> >>>>Everything works .... except that squirellmail won't get access to >>>> imap. >>>> >>>>I have for squirrelmail in config >>>> >>>>$imap_auth_mech = 'login'; >>>>$imap_server_type = 'other'; >>>> >>>>tested with $imap_server_type='cyrus'; >>>> >>>>for imapd >>>>sasl_pwcheck_method: saslauthd >>>>sasl_mech_list: PLAIN LOGIN >>>> >>>>so when I try to login with SM I do get this in saslauthd debug log >>>> >>>>saslauthd[8422] :do_auth : auth success: [user=ced.xxx.com] >>>>[service=imap] [realm=] [mech=pam] >>>>saslauthd[8422] :do_request : response: OK >>>>saslauthd[8423] :rel_accept_lock : released accept lock >>>>saslauthd[8424] :get_accept_lock : acquired accept lock >>>>saslauthd[8423] :do_request : NULL password received >>>>saslauthd[8424] :rel_accept_lock : released accept lock >>>>saslauthd[8424] :do_request : NULL password received >>>>saslauthd[8420] :get_accept_lock : acquired accept lock >>>> >>>>in parallel to this the pam authentication works allright and the mysql >>>>query synchrone to the above >>>>gives: >>>> >>>>Connect [EMAIL PROTECTED] on mail >>>> 513 Init DB mail >>>> 513 Query SELECT password FROM accountuser >>>>WHERE username='ced.xxx.com' >>>> 513 Quit >>>>the query delivers one and only one row in the result set and that is >>>>the correct one >>>> >>>>Now I've come to the point I don't know any further I do not see what >>>>"NULL password received" mean and where it comes from and why there are >>>>2 times this msg. >>>> >>>>the system consists of >>>>------------------------- >>>>postfix 2.1.5-9 >>>>cyrus21 2.1.18-1 >>>>sasl2 2.1.19-1.5 >>>>libpam-mysql 0.5.0-6 >>>>mysql-server 4.0.24-10sarge1 >>>>php4 4.3.10-16 >>>>php4-pear 4.3.10-16 >>>>web-cyradm-0.5.4-1 >>>>debian stable uptodate >>>> >>>>Need mor info I'd be happy to supply. >>>>If this has been answered before a link/hint will be most appreciated >>>>Any help will be uppermost appreciated, my hairs will be thankfull :=( ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: [email protected] List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: [email protected] List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
