View previous topic :: View next topic |
Author |
Message |
pmatos Veteran
Joined: 06 Jun 2003 Posts: 1246 Location: Eckental, Germany
|
Posted: Fri Aug 20, 2004 2:17 pm Post subject: Courier-imap disconnecting for no good reason |
|
|
Hi all,
I've installed courier-imap-ssl and I'm using it to have a local imap mail server, however, when I start thunderbird everything is ok but then I start getting messages that the server disconnected. For example, I have a lot of imap folders, 100 perphaps, and when I do compact folders to expunge then I just get 1 second of wait and message for each folder saying the server disconnected. Any idea what the problem might be? Where are the imap server logs?
Cheers, _________________ Paulo Matos |
|
Back to top |
|
|
joycea Apprentice
Joined: 23 Jul 2002 Posts: 191 Location: Kingston, Canada
|
Posted: Fri Aug 20, 2004 2:53 pm Post subject: |
|
|
I have been experiencing the same problem for quite some time now and have searched for a solution everywhere I can think of to no avail. One tip that I did find was that Thunderbird generally makes about five connections to the server at any one time, so the number of available connections per IP needs to be increased.
Code: | FILE ---> /etc/courier/imapd
##NAME: MAXPERIP:0
#
# Maximum number of connections to accept from the same IP address
MAXPERIP=20 |
I have not found any further information, but this seems to be a bug in Thunderbird. I don't experience the problem with any other mail client. |
|
Back to top |
|
|
pmatos Veteran
Joined: 06 Jun 2003 Posts: 1246 Location: Eckental, Germany
|
Posted: Fri Aug 20, 2004 3:11 pm Post subject: |
|
|
joycea wrote: | I have been experiencing the same problem for quite some time now and have searched for a solution everywhere I can think of to no avail. One tip that I did find was that Thunderbird generally makes about five connections to the server at any one time, so the number of available connections per IP needs to be increased.
Code: | FILE ---> /etc/courier/imapd
##NAME: MAXPERIP:0
#
# Maximum number of connections to accept from the same IP address
MAXPERIP=20 |
I have not found any further information, but this seems to be a bug in Thunderbird. I don't experience the problem with any other mail client. |
This is great! Working now with no problems! Set MAXPERIP to 40! _________________ Paulo Matos |
|
Back to top |
|
|
joycea Apprentice
Joined: 23 Jul 2002 Posts: 191 Location: Kingston, Canada
|
Posted: Sat Aug 21, 2004 1:15 am Post subject: |
|
|
That seems to have, if not solved, at least reduced my problems. Mine were popping up randomly before so I can't say for sure, but I haven't run into a problem since I made this change. Seems like 40 is the magic number. Thanks! |
|
Back to top |
|
|
pmatos Veteran
Joined: 06 Jun 2003 Posts: 1246 Location: Eckental, Germany
|
Posted: Sat Aug 21, 2004 10:29 am Post subject: |
|
|
joycea wrote: | That seems to have, if not solved, at least reduced my problems. Mine were popping up randomly before so I can't say for sure, but I haven't run into a problem since I made this change. Seems like 40 is the magic number. Thanks! |
Nice, another thing I changed was the number of possible servers to start.
Code: | ##NAME: MAXDAEMONS:0
#
# Maximum number of IMAP servers started
#
MAXDAEMONS=100
##NAME: MAXPERIP:0
#
# Maximum number of connections to accept from the same IP address
MAXPERIP=40 |
_________________ Paulo Matos |
|
Back to top |
|
|
|