6 messages in net.sourceforge.lists.courier-usersRe: [courier-users] imap / pop3 maxpe...
FromSent OnAttachments
Mitch (WebCob)Oct 23, 2004 11:09 am 
Sam VarshavchikOct 23, 2004 1:55 pm 
Mitch (WebCob)Oct 23, 2004 2:53 pm 
Sam VarshavchikOct 23, 2004 3:05 pm 
Mitch (WebCob)Oct 23, 2004 6:28 pm 
Sam VarshavchikOct 23, 2004 7:07 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] imap / pop3 maxperip - how to detect a problem and override on a per-ip basis?Actions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Oct 23, 2004 7:07:38 pm
List:net.sourceforge.lists.courier-users

Mitch (WebCob) writes:

Same question I guess applies to other limit conditions... like MAXDAEMONS, MAXPERIP etc. Is there a way to detect if the limits are being tested? I

There is a warning message that gets logged when you hit MAXDAEMONS.

No warning messages are logged when you hit MAXPERC or MAXPERIP. You don't want your logs quickly filled when someone's trying to throw several thousand connections at you, per second.

Two ideas... or suggestions...

1) could a "log file" be written or touched to indicate the last time one of these events occured? That way there would be no danger of spewing to much crap into the logs... Just a simple timestamp or even a 0 byte file touched when the event occurs... or perhaps just the address that caused the error... one record - overwrite as needed.

optionally, if these log messages were available in a debug mode, it might be a helpful diagnostic tool...

2) could the localhost have a separate set of limits? If not defined, default to the original - if defined, use them?

I'm not able to do this right now, but would like your thoughts on the idea - maybe it's an easy change - maybe there is something stupid about the idea...

More intelligent logging in couriertcpd is certainly a good idea. However, as far as carving out an exception for localhost goes, I don't see a clean way to go about doing that.

In case you missed it - in the last month I was pretty busy disecting everything apart, and putting it back together again. This stuff has to wait.