HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   squirrelmail login failing (http://www.howtoforge.com/forums/showthread.php?t=13388)

t-mug 13th June 2007 14:43

squirrelmail login failing
 
I've got a fresh ISPconfig installation here; the squirrelmail package from http://ispconfig.org/downloads.htm is installed additionally.
But my web login via the https://domain.tld:81/squirrelmail is always failing: "Unknown user or password incorrect."
The /var/log/mail.log says:
Code:

Jun 13 13:27:02 ... imapd: Connection, ip=[::ffff:127.0.0.1]
Jun 13 13:27:02 ... imapd: LOGIN FAILED, user=web1_test@mydomain.tld, ip=[::ffff:127.0.0.1]
Jun 13 13:27:07 ... imapd: LOGOUT, ip=[::ffff:127.0.0.1], rcvd=63, sent=332

The login would probably work if the "user" value would be "web1_test" only (without "@mydomain.tld"), so like it does via my web client. The point is: I've put in the login username box of squirrelmail only "web1_test" as username - it seems that squirrelmail adds automatically this "@mydomain.tld" stuff. Are there any suggestions, how to solve this?

Thanks a lot

bitonw 13th June 2007 16:51

i have the same set up as your and logon with the users real email address...

so if you got blaname@bladomain.com as email address, you use this to logon.

have fun,
bt

t-mug 13th June 2007 17:09

The same
 
Hi bitonw,

thx 4 your reply; if I try to logon by "web1_test@mydomain.tld" the result is exactly the same. Squirrel checks that there's a "dom.tld" extension and does nothing in this case obviously.

But it seems to me, for authentication I need the exact "web1_test" string as user value, since ISPconfig does not support usernames as email addresses? How come these together?

bye & greetings

t-mug 13th June 2007 17:55

Solution
 
OK, I found it out. ISPconfig maps the email address from the squirrel login form to the username expected by postfix by means of a file called /etc/postfix/virtusertable. Here, I then recognized, there was an error done by myself: I created a web as subdomain, so I had to input web1_test@sub.dom.tld as username in squirrel, and the mapping file did the rest well. If I typed only the username, squirrel has completed this by the "@dom.tld" but for this there was no mapping entry in the virtualusertable und the logon failed.
This had confused me!

So thank you again.


All times are GMT +2. The time now is 07:25.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.