Re: courier-imap-ssl server disconnect error behind firewall

2004-07-15 Thread Vadik
Chris wrote:
On Tue, 2004-07-13 at 16:33, Vadik wrote:
 

I use courier-imap-ssl and I have mozilla connection to a few accounts 
at the same time, so my MAXPERIP=40.  With this setup I have absolutely 
no problem from home, but from the work I often get server disconnect 
error.  I think that firewall at my work is a problem, but is there 
anything I can do (with courier or mozilla configuration) to fix it?
   

I have had issues with mozilla/thunderbird vs. courier-imap in the past.
Check  'account settings' | 'server settings' |'advanced' | 'maximum
number of server connections to cache'. 
I believe this defaults to 5. I decreased this to 2 and the server
disconnects went away.
 

This problem is much easier fixed by setting MAXPERIP=SOME LARGE 
NUMBER on the server.  By default courier allows 4 connection from the 
same IP, mozilla wants to make 5 (performance), so you need to tell 
courier to allow larger number of connections.

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: courier-imap-ssl server disconnect error behind firewall

2004-07-15 Thread Vadik
Greg Folkert wrote:
I use courier-imap-ssl and I have mozilla connection to a few accounts 
at the same time, so my MAXPERIP=40.  With this setup I have absolutely 
no problem from home, but from the work I often get server disconnect 
error.  I think that firewall at my work is a problem, but is there 
anything I can do (with courier or mozilla configuration) to fix it?
   

I turned on FAMD, and got the same errors as before.  I didn't have 
these errors from home before, and still don't have it now, so I still 
think it has something to do with firewall, and courier configuration,
   

You may be right, I have a fully-stateful-packet inspection Firewall
(Linux and IPTABLES and other things) I do not have issue. I use it both
ways home and work similar to you. If you want I can look at my
courier-imap-ssl config.
 

I think I tracked down the problem.  Our company uses Cisco firewall, 
and reading some Cisco documentation, they have MAP (and other protocol) 
timeout, which means that firewall will disconnect the connection if it 
is idling some period of time (5 min default).  So I set check for new 
mail to be every 3 minutes.  Seems to work for now.  Now I want to 
investigate if mozilla has other ways to keep connection alive.

Thanks,
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: courier-imap-ssl server disconnect error behind firewall

2004-07-15 Thread Chris
On Thu, 2004-07-15 at 18:44, Vadik wrote:
 Chris wrote:
 
 On Tue, 2004-07-13 at 16:33, Vadik wrote:
   
 
 I use courier-imap-ssl and I have mozilla connection to a few accounts 
 at the same time, so my MAXPERIP=40.  With this setup I have absolutely 
 no problem from home, but from the work I often get server disconnect 
 error.  I think that firewall at my work is a problem, but is there 
 anything I can do (with courier or mozilla configuration) to fix it?
 
 
 I have had issues with mozilla/thunderbird vs. courier-imap in the past.
 Check  'account settings' | 'server settings' |'advanced' | 'maximum
 number of server connections to cache'. 
 I believe this defaults to 5. I decreased this to 2 and the server
 disconnects went away.
   
 
 This problem is much easier fixed by setting MAXPERIP=SOME LARGE 
 NUMBER on the server.  By default courier allows 4 connection from the 
 same IP, mozilla wants to make 5 (performance), so you need to tell 
 courier to allow larger number of connections.
 
Mmm, when you put it like that it's pretty obvious. Thanks.

Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: courier-imap-ssl server disconnect error behind firewall

2004-07-15 Thread Damon L. Chesser
Vadik wrote:
Chris wrote:
On Tue, 2004-07-13 at 16:33, Vadik wrote:
 

I use courier-imap-ssl and I have mozilla connection to a few 
accounts at the same time, so my MAXPERIP=40.  With this setup I have 
absolutely no problem from home, but from the work I often get 
server disconnect error.  I think that firewall at my work is a 
problem, but is there anything I can do (with courier or mozilla 
configuration) to fix it?
  
I have had issues with mozilla/thunderbird vs. courier-imap in the past.
Check  'account settings' | 'server settings' |'advanced' | 'maximum
number of server connections to cache'. I believe this defaults to 5. 
I decreased this to 2 and the server
disconnects went away.
 

This problem is much easier fixed by setting MAXPERIP=SOME LARGE 
NUMBER on the server.  By default courier allows 4 connection from the 
same IP, mozilla wants to make 5 (performance), so you need to tell 
courier to allow larger number of connections.


Please turn off your requst for a return receipt.
--
Damon L. Chesser
[EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: courier-imap-ssl server disconnect error behind firewall

2004-07-15 Thread Vadik
Damon L. Chesser wrote:
Vadik wrote:
Please turn off your requst for a return receipt.
Sorry for that.  I accidentally send email using different account (and 
yes I did it more than once).

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: courier-imap-ssl server disconnect error behind firewall

2004-07-14 Thread vadik
Greg Folkert wrote:
I use courier-imap-ssl and I have mozilla connection to a few accounts 
at the same time, so my MAXPERIP=40.  With this setup I have absolutely 
no problem from home, but from the work I often get server disconnect 
error.  I think that firewall at my work is a problem, but is there 
anything I can do (with courier or mozilla configuration) to fix it?
  

   

I turned off FAMD temporarily and got a tremendous number of those
messages in the logs, and got many server disconnect errors.
Turned FAMD back on, restarted the mail pieces, the problems went away.
 

I turned on FAMD, and got the same errors as before.  I didn't have 
these errors from home before, and still don't have it now, so I still 
think it has something to do with firewall, and courier configuration,

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: courier-imap-ssl server disconnect error behind firewall

2004-07-14 Thread Greg Folkert
On Wed, 2004-07-14 at 12:33, vadik wrote:
 Greg Folkert wrote:
 
 I use courier-imap-ssl and I have mozilla connection to a few accounts 
 at the same time, so my MAXPERIP=40.  With this setup I have absolutely 
 no problem from home, but from the work I often get server disconnect 
 error.  I think that firewall at my work is a problem, but is there 
 anything I can do (with courier or mozilla configuration) to fix it?

 
 
 
 I turned off FAMD temporarily and got a tremendous number of those
 messages in the logs, and got many server disconnect errors.
 
 Turned FAMD back on, restarted the mail pieces, the problems went away.
   
 
 I turned on FAMD, and got the same errors as before.  I didn't have 
 these errors from home before, and still don't have it now, so I still 
 think it has something to do with firewall, and courier configuration,

You may be right, I have a fully-stateful-packet inspection Firewall
(Linux and IPTABLES and other things) I do not have issue. I use it both
ways home and work similar to you. If you want I can look at my
courier-imap-ssl config.

-- 
greg, [EMAIL PROTECTED]

The technology that is
Stronger, better, faster:  Linux


signature.asc
Description: This is a digitally signed message part


Re: courier-imap-ssl server disconnect error behind firewall

2004-07-14 Thread Chris
On Tue, 2004-07-13 at 16:33, Vadik wrote:
 I use courier-imap-ssl and I have mozilla connection to a few accounts 
 at the same time, so my MAXPERIP=40.  With this setup I have absolutely 
 no problem from home, but from the work I often get server disconnect 
 error.  I think that firewall at my work is a problem, but is there 
 anything I can do (with courier or mozilla configuration) to fix it?


I have had issues with mozilla/thunderbird vs. courier-imap in the past.
Check  'account settings' | 'server settings' |'advanced' | 'maximum
number of server connections to cache'. 
I believe this defaults to 5. I decreased this to 2 and the server
disconnects went away.

Just checked at 5 again. After opening more than a few folders I get
server my.domain has disconnected. The server has gone down or there
may be a network problem. Lowering this value to 2 solves it (although
the logic behind it goes 'woosh' over my head).

Hope this helps.

Chris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



courier-imap-ssl server disconnect error behind firewall

2004-07-13 Thread Vadik
I use courier-imap-ssl and I have mozilla connection to a few accounts 
at the same time, so my MAXPERIP=40.  With this setup I have absolutely 
no problem from home, but from the work I often get server disconnect 
error.  I think that firewall at my work is a problem, but is there 
anything I can do (with courier or mozilla configuration) to fix it?

Thanks,
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: courier-imap-ssl server disconnect error behind firewall

2004-07-13 Thread J.H.M. Dassen (Ray)
On Tue, Jul 13, 2004 at 07:33:37 -0700, Vadik wrote:
 I use courier-imap-ssl and I have mozilla connection to a few accounts 
 at the same time, so my MAXPERIP=40.  With this setup I have absolutely 
 no problem from home, but from the work I often get server disconnect 
 error.  I think that firewall at my work is a problem, but is there 
 anything I can do (with courier or mozilla configuration) to fix it?

If you're running sid (or perhaps sarge), it could just be
http://bugs.debian.org/254731 ; try installing the 0.45.6-1 versions of the
courier packages. 

HTH,
Ray
-- 
I think Microsoft should say, You'll get a check from Bill Gates every time
you find an error.
Donald Knuth, All Questions Answered,
http://www.ams.org/notices/200203/fea-knuth.pdf


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: courier-imap-ssl server disconnect error behind firewall

2004-07-13 Thread vadik
J.H.M. Dassen (Ray) wrote:
On Tue, Jul 13, 2004 at 07:33:37 -0700, Vadik wrote:
 

I use courier-imap-ssl and I have mozilla connection to a few accounts 
at the same time, so my MAXPERIP=40.  With this setup I have absolutely 
no problem from home, but from the work I often get server disconnect 
error.  I think that firewall at my work is a problem, but is there 
anything I can do (with courier or mozilla configuration) to fix it?
   

If you're running sid (or perhaps sarge), it could just be
http://bugs.debian.org/254731 ; try installing the 0.45.6-1 versions of the
courier packages. 

HTH,
Ray
 

I am running sarge.  I looked at 254731, but could not find anything 
related.

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: courier-imap-ssl server disconnect error behind firewall

2004-07-13 Thread Greg Folkert
On Tue, 2004-07-13 at 16:13, vadik wrote:
 J.H.M. Dassen (Ray) wrote:
 
 On Tue, Jul 13, 2004 at 07:33:37 -0700, Vadik wrote:
   
 
 I use courier-imap-ssl and I have mozilla connection to a few accounts 
 at the same time, so my MAXPERIP=40.  With this setup I have absolutely 
 no problem from home, but from the work I often get server disconnect 
 error.  I think that firewall at my work is a problem, but is there 
 anything I can do (with courier or mozilla configuration) to fix it?
 
 
 
 If you're running sid (or perhaps sarge), it could just be
 http://bugs.debian.org/254731 ; try installing the 0.45.6-1 versions of the
 courier packages. 
 
 HTH,
 Ray
   
 
 I am running sarge.  I looked at 254731, but could not find anything 
 related.

I turned off FAMD temporarily and got a tremendous number of those
messages in the logs, and got many server disconnect errors.

Turned FAMD back on, restarted the mail pieces, the problems went away.
-- 
greg, [EMAIL PROTECTED]

The technology that is
Stronger, better, faster:  Linux


signature.asc
Description: This is a digitally signed message part


Re: courier-imap-ssl server disconnect error behind firewall

2004-07-13 Thread vadik
Greg Folkert wrote:
I turned off FAMD temporarily and got a tremendous number of those
messages in the logs, and got many server disconnect errors.
Turned FAMD back on, restarted the mail pieces, the problems went away.
 

Let me try it.  I will know tomorrow if this works
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]