View previous topic :: View next topic |
Author |
Message |
richard.scott Veteran
Joined: 19 May 2003 Posts: 1497 Location: Oxfordshire, UK
|
Posted: Fri Apr 13, 2007 1:03 pm Post subject: Squirrelmail half logs in and then kicks me out :-( [Solved] |
|
|
Hi,
I have been using squirrelmail for a while now, and every now and again when I log in I get kicked out.
Now, for those of you who say "Wrong password" think again as I'm not that stupid!
My problem happens just after I've been authenticated!
After you have logged in, you are redirected to:
Code: | https://webmail/src/webmail.php |
You know the screen, this is the page that lists your Inbox folders on the left and your inbox messages on the right half of the screen.
Sometimes I see this page, but the folder list on the left is empty (no HTML in that frame at all!) and the right half displays the "wrong username / password" error screen.
I think this is odd becuase I've just authenticated and redirected to this page! Perhaps there's an issue with session variables or something?
Has anyone else noticed this with squirrelmail?
OK, OK, I know that's hard masked in portage but other than the logging in, it works fine!
Last edited by richard.scott on Thu May 17, 2007 10:15 am; edited 1 time in total |
|
Back to top |
|
|
bunder Bodhisattva
Joined: 10 Apr 2004 Posts: 5947
|
Posted: Fri Apr 13, 2007 1:07 pm Post subject: |
|
|
2 things to check (i had this problem recently)
check your imap server settings, more specifically the max connections per ip setting.
check your apache/php session time limit setting.
cheers _________________
Neddyseagoon wrote: | The problem with leaving is that you can only do it once and it reduces your influence. |
banned from #gentoo since sept 2017 |
|
Back to top |
|
|
richard.scott Veteran
Joined: 19 May 2003 Posts: 1497 Location: Oxfordshire, UK
|
Posted: Thu Apr 26, 2007 9:18 am Post subject: |
|
|
Nope, it seems its a MySQL problem:
Code: | #cat /var/log/mail/current | grep auth
Apr 26 10:15:05 [authdaemond] received auth request, service=imap, authtype=login
Apr 26 10:15:05 [authdaemond] authmysql: trying this module
Apr 26 10:15:05 [authdaemond] authmysql: REJECT - try next module
Apr 26 10:15:05 [authdaemond] FAIL, all modules rejected
|
After a restart of MySQL it is ok again so it seems that MySQL is running slow? |
|
Back to top |
|
|
richard.scott Veteran
Joined: 19 May 2003 Posts: 1497 Location: Oxfordshire, UK
|
Posted: Thu May 17, 2007 10:14 am Post subject: |
|
|
I think I've solved it by adding this to my /etc/mysql/my.cnf file:
Code: | [mysqld]
set-variable = max_connections=1000
set-variable = wait_timeout=120 |
Will keep an eye on it |
|
Back to top |
|
|
|