[Mimedefang] OT: sendmail limit connections

Arthur Corliss corliss at digitalmages.com
Wed Feb 23 12:52:36 EST 2005


On Wed, 23 Feb 2005, -ray wrote:

>
> I have max daemon children set to 250.  Occasionally one machine will open
> 250 connections, probably spamming, so sendmail stops new connections.
>
> Is there a sendmail way to limit # of connections by ip address?

The code base for poprelayd could do that quite simply.  Just tail the logs
and update a db with a connection count per IP.  You'd have to modify the
ruleset a bit, but all in all, that would be pretty easy.

	--Arthur Corliss
	  Bolverk's Lair -- http://arthur.corlissfamily.org/
	  Digital Mages -- http://www.digitalmages.com/
	  "Live Free or Die, the Only Way to Live" -- NH State Motto



More information about the MIMEDefang mailing list