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

2014-07-25 Thread Diana Calder
Thursday, July 24, 2014, 6:57:21 PM, Eric wrote:

 On 07/24/2014 06:39 AM, Diana Calder wrote:
 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.
 Query: LOGOUT

This is now happening with more than one user account. The problem has
returned on the one that I *thought* I had fixed plus it's showing up
on multiple other accounts. Yet some still work.

Here's what the Dovecot log shows:

Jul 25 13:30:08 imap-login: Info: Aborted login (auth failed, 1
attempts in 2 secs): user=pacad...@essexcountylibrary.ca,
method=CRAM-MD5, rip=::1, lip=::1, secured,
session=2x6i7Af/NwAB

All accounts still work with either POP3 or IMAP from a client (The
Bat!), they only have issues in Squirrelmail.

Having said, that, I will occasionally see an IMAP account hang in
The Bat! - it will hang up on accessing the account for hours until
the user manually tells The Bat! to abort the connection. It logs in
okay:

 25/07/2014, 13:21:02: IMAP  - Connecting to IMAP server 
in.essexcountylibrary.ca on port 143
 25/07/2014, 13:21:02: IMAP  - Connected to IMAP server 
(in.essexcountylibrary.ca)
25/07/2014, 13:21:02: IMAP  - Dovecot toaster ready.
 25/07/2014, 13:21:02: IMAP  - Authenticating (user: 
pacad...@essexcountylibrary.ca, method: LOGIN)...
 25/07/2014, 13:21:02: IMAP  - IMAP server authentication OK, server says 
Logged in

 But that's where it hangs - it simply stays connected to the server
 forever without ever updating the mailboxes OR erroring out.

 Here's what Dovecot shows in this case:

Jul 25 13:32:23 imap-login: Info: Login:
user=pacadm...@essexcountylibrary.ca, method=PLAIN,
rip=205.207.189.15, lip=205.207.189.144, mpid=3558,
session=b9TM9Af/gQDNz70P

This looks exactly like the first log entry for a fully successful
connection via The Bat!:

Jul 25 13:34:36 imap-login: Info: Login:
user=dcal...@essexcountylibrary.ca, method=PLAIN,
rip=205.207.189.15, lip=205.207.189.144, mpid=3707,
session=ccS3/Af/mwDNz70P

Jul 25 13:34:41 imap(dcal...@essexcountylibrary.ca): Info:
Disconnected: Disconnected in IDLE in=4199 out=76924


 I haven't observed any SM specific problems with large mailboxes. There
 were problems with Courier IMAP and large mailboxes, but Dovecot should
 have no problems with them. This is one of the reasons we're using 
 dovecot instead of courier now.

 I wouldn't hesitate to let users have 1G mailboxes, so long as you have
 the disk space.

Yes, we have the disk space. I already had the headache of having to
increase the partition size once, so I made sure to make it
ridiculously huge when I did that.

 Also, be sure to use the dirindex option if you use the ext3/4 
 filesystem. Not having that turned on can cause performance problems 
 with folders which have a large number of messages.

Yep, that was already on. I also went in and enabled noatime but,
considering that it didn't help with the problem, I'm debating
turning that back off.

Anybody have any suggestions? I'm just about ready to give in and do a
fresh install of CentOS and Qmail, then import all of my old messages.
Except that I'm not entirely certain that the problem won't follow the
old messages to a new box.


-- 
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] Re: One user account can't login to Squirrelmail

2014-07-25 Thread Eric Shubert

On 07/25/2014 10:45 AM, Diana Calder wrote:

Thursday, July 24, 2014, 6:57:21 PM, Eric wrote:


On 07/24/2014 06:39 AM, Diana Calder wrote:

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.
Query: LOGOUT


This is now happening with more than one user account. The problem has
returned on the one that I *thought* I had fixed plus it's showing up
on multiple other accounts. Yet some still work.

Here's what the Dovecot log shows:

Jul 25 13:30:08 imap-login: Info: Aborted login (auth failed, 1
attempts in 2 secs): user=pacad...@essexcountylibrary.ca,
method=CRAM-MD5, rip=::1, lip=::1, secured,
session=2x6i7Af/NwAB

All accounts still work with either POP3 or IMAP from a client (The
Bat!), they only have issues in Squirrelmail.

Having said, that, I will occasionally see an IMAP account hang in
The Bat! - it will hang up on accessing the account for hours until
the user manually tells The Bat! to abort the connection. It logs in
okay:

  25/07/2014, 13:21:02: IMAP  - Connecting to IMAP server 
in.essexcountylibrary.ca on port 143
  25/07/2014, 13:21:02: IMAP  - Connected to IMAP server 
(in.essexcountylibrary.ca)

25/07/2014, 13:21:02: IMAP  - Dovecot toaster ready.

  25/07/2014, 13:21:02: IMAP  - Authenticating (user: pacad...@essexcountylibrary.ca, 
method: LOGIN)...
  25/07/2014, 13:21:02: IMAP  - IMAP server authentication OK, server says Logged 
in

  But that's where it hangs - it simply stays connected to the server
  forever without ever updating the mailboxes OR erroring out.

  Here's what Dovecot shows in this case:

Jul 25 13:32:23 imap-login: Info: Login:
user=pacadm...@essexcountylibrary.ca, method=PLAIN,
rip=205.207.189.15, lip=205.207.189.144, mpid=3558,
session=b9TM9Af/gQDNz70P

This looks exactly like the first log entry for a fully successful
connection via The Bat!:

Jul 25 13:34:36 imap-login: Info: Login:
user=dcal...@essexcountylibrary.ca, method=PLAIN,
rip=205.207.189.15, lip=205.207.189.144, mpid=3707,
session=ccS3/Af/mwDNz70P

Jul 25 13:34:41 imap(dcal...@essexcountylibrary.ca): Info:
Disconnected: Disconnected in IDLE in=4199 out=76924



I haven't observed any SM specific problems with large mailboxes. There
were problems with Courier IMAP and large mailboxes, but Dovecot should
have no problems with them. This is one of the reasons we're using
dovecot instead of courier now.



I wouldn't hesitate to let users have 1G mailboxes, so long as you have
the disk space.


Yes, we have the disk space. I already had the headache of having to
increase the partition size once, so I made sure to make it
ridiculously huge when I did that.


Also, be sure to use the dirindex option if you use the ext3/4
filesystem. Not having that turned on can cause performance problems
with folders which have a large number of messages.


Yep, that was already on. I also went in and enabled noatime but,
considering that it didn't help with the problem, I'm debating
turning that back off.

Anybody have any suggestions? I'm just about ready to give in and do a
fresh install of CentOS and Qmail, then import all of my old messages.
Except that I'm not entirely certain that the problem won't follow the
old messages to a new box.



Please post result of:
# doveconf -n

Also, how many SM users are there, and how many IMAP that are not SM?

--
-Eric 'shubes'


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



[qmailtoaster] Re: Numerous copies of emails

2014-07-25 Thread Eric Shubert

On 07/18/2014 10:33 AM, Eric Shubert wrote:

That's in my arena. I'll get it fixed when I get a chance, hopefully
this weekend.



Just an update. I've looked into this, and the PVE host appears to be 
having some disk issue that is severely affecting performance, which is 
resulting in smtp session timeouts, which subsequently results in dupes. 
Please bear with us. I hope we'll have a fix soon.


Thanks.

--
-Eric 'shubes'


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