# MAP Server (dovecot)
# PHP (4.38 http://www.substantis.com/phpinfo.php)
# Web server (  Apache/2.0.51 (Fedora))
# Platform (Fedora Core 2)
# How your software was installed (.tar.gz / configured config.pl )
# SquirrelMail version (1.4.3a)

problem: i can't log into squirrelmail.  the error code is "You must be logged in to access 
this page."

testing: confirmed passwords from local terminal.

as in telnet localhost 143??

what do your IMAP logs say?



everything looks ok with dovecot. i am user validuser as a local account for testing. the strange thing is that even when i get rejected for a login using a valid username and password, i get the message, ""You must be logged in to access this page," but when i login using a bogus name, i get a distinctly different error using a bogus username and password "Unknown user or password incorrect."

1. testing dovecot from local terminal:
[EMAIL PROTECTED] root]# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK dovecot ready.
1 login validuser password
1 OK Logged in.

this telnet session gets logged in /var/log/maillog
Oct 28 21:30:36 testy imap-login: Login: maw [127.0.0.1]
Oct 28 21:33:06 testy imap-login: Login: maw [127.0.0.1]


When i attempt to login with a valid user name and password, i get the what looks like a valid login:

var/log/maillog
Oct 28 21:14:53 testy imap-login: Login: validuser [127.0.0.1]

but the system logs say i didn't enter a user id / password:
Oct 28 22:03:56 testy dovecot(pam_unix)[12167]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=

Is this the *only* line associated with one login? A typical login creates more than one IMAP login and thus more than one line in your logs. If this really is the only line, then your username isn't even making it to the IMAP server, which means either PHP is completely b0rked or your SM was custom modified or has a rouge plugin that is stripping the username. If this is the 2nd login attempt by SM from your single login, this is a problem that has come up before, and was usually a session problem seen most frequently by people hosting SM on a Windows server IIRC. But it's been a while, so I don't remember exactly... you may want to double check your logs and do more mailing list archive searches.


when i use a bogus username and password, i get this:
Oct 28 22:21:34 testy dovecot(pam_unix)[12186]: check pass; user unknown
Oct 28 22:21:34 testy dovecot(pam_unix)[12186]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=



------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click -- squirrelmail-users mailing list Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?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

Reply via email to