Re: [qmailtoaster] One user account can't login to Squirrelmail

2014-07-24 Thread Diana Calder
Hello Angus,

Wednesday, July 23, 2014, 2:20:45 PM, you wrote:


 Diana Calder wrote:
 I have an odd problem with one user account. When trying to login to
 Squirrelmail, the login will hang for several seconds then result in:

 ERROR: Connection dropped by IMAP server.

   [ ... snip ... ]

 A possible symptom or secondary issue is that the problem account is
 using 78% of its 1Gb quota ... He has about 700
 messages in his Inbox ...

 That might be the issue.

 I've seen SquirrelMail serve up blank pages, apparently due to timeout
 issues, when trying to open mail folders that contained very large numbers
 of messages. I'd give serious consideration to the possibility that
 something like that is happening here.

snip

Rather than mucking about with the directories on the server as admin,
I decided to just use his The Bat! POP3 account to Dispatch Mail on
Server - All Messages. I'm not quite sure when or how but, at some
point, his POP3 settings had obviously been changed to leave
everything on the server, then changed back to delete from server when
deleted from The Bat! but NOT changed back to delete everything else
from the server after a set length of time - he had messages on there
dating back to about a year after he started working here.

Not only did he have messages going back 3 years, he also had messages
with huge attachments. I somewhat arbitrarily decided that, since he
was using POP3, anything that was previously downloaded was fair game,
and deleted everything more than 90 days old from the server. While
that took him down to only using 16% of his 1Gb quota, it did not
immediately correct the login issue.

However, when I tested again this morning, I was able to login with
his account via Squirrelmail. So, whether it was really the messages
that I cleared out or something else entirely, I don't know. We'll see
what happens over the next little while. Especially when I move his
The Bat! account over to IMAP, as we've been slowly but steadily
migrating all of our user accounts from POP3 (client)  IMAP (webmail)
to IMAP only. Considering the way that his account has been acting,
I'll probably hold off on it till the very end.

I'm also reconsidering that 1Gb quota that some staff members were
given. Realistically speaking, if large numbers of messages may cause
Squirrelmail issues, it might be best to drop that down to 500Mb.



-- 
Best regards,
 Diana Calder mailto:dcal...@essexcountylibrary.ca
Automation Technician(519) 776-5241 x.131
Essex County Library
Essex, ON


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



[qmailtoaster] One user account can't login to Squirrelmail

2014-07-23 Thread Diana Calder
I have an odd problem with one user account. When trying to login to
Squirrelmail, the login will hang for several seconds then result in:

ERROR:
ERROR: Connection dropped by IMAP server.
Query: LOGOUT

All other accounts that have been tested can login to Squirrelmail
just fine. The problem user account can check mail in The Bat! (email
client) via POP3 or via IMAP. I have used vuserinfo to compare the
account settings against other, correctly working, accounts and there
are no differences in the flags or limits.

A possible symptom or secondary issue is that the problem account is
using 78% of its 1Gb quota, despite the fact that the user has cleared
out most of his old mail via the POP3 client (that's the same
percentage as before he cleared out the old email). He has about 700
messages in his Inbox and about 500 in his Sent, which really doesn't
seem like enough to add up to ~780Mb, even if some have attachments. I
have double that many messages and it only comes out to 9% (90 Mb) of
a 1Gb quota.

As a side note - when we moved to a CentOS6 VM with the compatible
version of Qmailtoaster, we made the switch from Courier to Dovecot at
the same time. That appears to have left a number of Courier
directories behind in each account's Maildir. Does anyone have a
cleanup script to get rid of these obsolete directories?

-- 
Best regards,
 Diana Calder mailto:dcal...@essexcountylibrary.ca
Automation Technician(519) 776-5241 x.131
Essex County Library
Essex, ON


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] One user account can't login to Squirrelmail

2014-07-23 Thread Angus McIntyre

Diana Calder wrote:
 I have an odd problem with one user account. When trying to login to
 Squirrelmail, the login will hang for several seconds then result in:

 ERROR: Connection dropped by IMAP server.

   [ ... snip ... ]

 A possible symptom or secondary issue is that the problem account is
 using 78% of its 1Gb quota ... He has about 700
 messages in his Inbox ...

That might be the issue.

I've seen SquirrelMail serve up blank pages, apparently due to timeout
issues, when trying to open mail folders that contained very large numbers
of messages. I'd give serious consideration to the possibility that
something like that is happening here.

You can test this idea by manually moving most of the user's messages to
another directory temporarily (using the shell and your administrator
superpowers), then having the user try to login. If they're able to log in
successfully, then that was probably your issue. If they're still stuck,
well, at least it was an easy test.

You could also try increasing the:

max_execution_time

in your 'php.ini' file to see if that helps. That might resolve timeout
issues (if this is a timeout issue) associated with execution of
SquirrelMail's PHP scripts. If it's a timeout issue with the IMAP server,
there may be an equivalent setting that you could tweak somewhere in the
configuration files for your server.

Another possibility is that it's not the sheer number of messages that's
causing the issue, but one particular message which is either overlarge or
malformed. In that case, moving some messages aside temporarily, then
putting them back into the mailbox in small batches may help isolate the
problem.

Angus


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] One user account can't login to Squirrelmail

2014-07-23 Thread Kelly Cobean
Is the disable web access box checked if you look at the account in 
vqadmin?


On 07/23/2014 13:57, Diana Calder wrote:

I have an odd problem with one user account. When trying to login to
Squirrelmail, the login will hang for several seconds then result in:

ERROR:
ERROR: Connection dropped by IMAP server.
Query: LOGOUT

All other accounts that have been tested can login to Squirrelmail
just fine. The problem user account can check mail in The Bat! (email
client) via POP3 or via IMAP. I have used vuserinfo to compare the
account settings against other, correctly working, accounts and there
are no differences in the flags or limits.

A possible symptom or secondary issue is that the problem account is
using 78% of its 1Gb quota, despite the fact that the user has cleared
out most of his old mail via the POP3 client (that's the same
percentage as before he cleared out the old email). He has about 700
messages in his Inbox and about 500 in his Sent, which really doesn't
seem like enough to add up to ~780Mb, even if some have attachments. I
have double that many messages and it only comes out to 9% (90 Mb) of
a 1Gb quota.

As a side note - when we moved to a CentOS6 VM with the compatible
version of Qmailtoaster, we made the switch from Courier to Dovecot at
the same time. That appears to have left a number of Courier
directories behind in each account's Maildir. Does anyone have a
cleanup script to get rid of these obsolete directories?


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] One user account can't login to Squirrelmail

2014-07-23 Thread Diana Calder
Wednesday, July 23, 2014, 2:53:08 PM, Kelly wrote:

 Is the disable web access box checked if you look at the account in 
 vqadmin?

No, it isn't. I tried checking it, modifying the account, then
unchecking and modifying the account again, just to make sure. No
change.

 On 07/23/2014 13:57, Diana Calder wrote:
 I have an odd problem with one user account. When trying to login to
 Squirrelmail, the login will hang for several seconds then result in:
 
 ERROR:
 ERROR: Connection dropped by IMAP server.
 Query: LOGOUT
 




-- 
Best regards,
 Diana Calder mailto:dcal...@essexcountylibrary.ca
Automation Technician(519) 776-5241 x.131
Essex County Library
Essex, ON


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] One user account can't login to Squirrelmail

2014-07-23 Thread Dan McAllister

Diana:

Have you looked into the IMAP log file? (should be accessible with a 
qmlog command: *qmlog imap4* -- or if using ssl: *qmlog imap4-ssl*)


I'm guessing the IMAP server is crashing for some reason -- hoping the 
log file will say what.


Dan
IT4SOHO

On 7/23/2014 3:12 PM, Diana Calder wrote:

Wednesday, July 23, 2014, 2:53:08 PM, Kelly wrote:


Is the disable web access box checked if you look at the account in
vqadmin?

No, it isn't. I tried checking it, modifying the account, then
unchecking and modifying the account again, just to make sure. No
change.


On 07/23/2014 13:57, Diana Calder wrote:

I have an odd problem with one user account. When trying to login to
Squirrelmail, the login will hang for several seconds then result in:

ERROR:
ERROR: Connection dropped by IMAP server.
Query: LOGOUT








--
IT4SOHO, LLC
33 - 4th Street N, Suite 211
St. Petersburg, FL 33701-3806

CALL TOLL FREE:
  877-IT4SOHO

877-484-7646 Phone
727-647-7646 Local
727-490-4394 Fax

We have support plans for QMail!