Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Courier-imap disconnecting for no good reason
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
pmatos
Veteran
Veteran


Joined: 06 Jun 2003
Posts: 1246
Location: Eckental, Germany

PostPosted: Fri Aug 20, 2004 2:17 pm    Post subject: Courier-imap disconnecting for no good reason Reply with quote

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
View user's profile Send private message
joycea
Apprentice
Apprentice


Joined: 23 Jul 2002
Posts: 191
Location: Kingston, Canada

PostPosted: Fri Aug 20, 2004 2:53 pm    Post subject: Reply with quote

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


Joined: 06 Jun 2003
Posts: 1246
Location: Eckental, Germany

PostPosted: Fri Aug 20, 2004 3:11 pm    Post subject: Reply with quote

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! :D Working now with no problems! :D Set MAXPERIP to 40!
_________________
Paulo Matos
Back to top
View user's profile Send private message
joycea
Apprentice
Apprentice


Joined: 23 Jul 2002
Posts: 191
Location: Kingston, Canada

PostPosted: Sat Aug 21, 2004 1:15 am    Post subject: Reply with quote

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


Joined: 06 Jun 2003
Posts: 1246
Location: Eckental, Germany

PostPosted: Sat Aug 21, 2004 10:29 am    Post subject: Reply with quote

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
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