Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Squirrelmail half logs in and then kicks me out :-( [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Fri Apr 13, 2007 1:03 pm    Post subject: Squirrelmail half logs in and then kicks me out :-( [Solved] Reply with quote

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! :wink:

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 8) 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
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5947

PostPosted: Fri Apr 13, 2007 1:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Thu Apr 26, 2007 9:18 am    Post subject: Reply with quote

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
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Thu May 17, 2007 10:14 am    Post subject: Reply with quote

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 :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum