> Well found 2 log files which refer to the action.
> The apache log looks fine…
There seems to be some kind of redirection going on, as the first
login attempt refers to the path “/src/redirect.php” and the
second one to “/webmail/src/redirect.php”. What does your Apache
VirtualHost configuration look like? Playing any tricks with
aliases? What happens if you enter the URL
http://webmail.arnoldnijboer.info/webmail/ into your browser
(ie. add the “/webmail” path prefix yourself)?
For comparison, this is what a successful login on one of my
SquirrelMail servers looks like in the Apache access log:
10.0.1.11 - - [04/Dec/2008:17:38:45 +0100] “POST /src/redirect.php HTTP/1.1” 302 -
10.0.1.11 - - [04/Dec/2008:17:38:46 +0100] “GET /src/webmail.php HTTP/1.1” 200 355
10.0.1.11 - - [04/Dec/2008:17:38:46 +0100] “GET /src/left_main.php HTTP/1.1” 200 13496
10.0.1.11 - - [04/Dec/2008:17:38:46 +0100] “GET /src/right_main.php HTTP/1.1” 200 29230
My VirtualHost has just a plain:
in it, and /srv/www/htdocs/squirrelmail is a symbolic link to the
directory where I installed SquirrelMail.
> the other (overall system message log) looks like it’s trying to
> validate multiple times, can’t figure out where the problem is.
You are authenticating against LDAP, while I am using sasldb, but
I don’t think that should make any difference. It’s strange,
however, that your first login (the one where you get the error
page) appears as:
Dec 1 16:19:12 SkynetServer imap: login: localhost [127.0.0.1] arnoldnijboer plaintext User logged in
Dec 1 16:19:12 SkynetServer imap: accepted connection
Dec 1 16:19:12 SkynetServer saslauthd: do_request : NULL password received
Dec 1 16:19:12 SkynetServer imap: badlogin: localhost [127.0.0.1] plaintext arnoldnijboer SASL(-13): authentication failure: checkpass failed
So SquirrelMail logs in successfully but immediately afterwards
tries again without a password, which fails of course. That doesn’t
happen the second time, when the URLs are prefixed by “/webmail”.
Phoenix Software GmbH