[Mimedefang] OT: sendmail limit connections

Chris Gauch cgauch at digicon.net
Wed Feb 23 16:05:52 EST 2005


> I didn't say it clearly, then.  You can rate-limit from any IP
> address, and have different limits for networks that you know about.

So, for example, if I wanted to limit connections using the
conncontrol/ratecontrol features within sendmail.mc, I'd use the
following...

define(`confCONNECTION_RATE_WINDOW_SIZE',`1m')dnl
FEATURE(`conncontrol', `nodelay', `terminate')dnl
FEATURE(`ratecontrol', `nodelay', `terminate')dnl

And in the sendmail access file I'd enter the following...

ClientConn: 10
ClientRate: 15

...so that this would basically limit the connection/rate to the specified
values in the 1m window size defined in sendmail.mc?  I haven't imposed any
of these limits (yet) in my sendmail.mc file and could not find any useful
examples or documentation for global rate-limits (there were, however,
plenty of examples on how to impose rate limits for a specific IP).  I guess
any examples on how to do this would be great.  

- Chris




More information about the MIMEDefang mailing list