On Sat, 14 Jan 2006 14:29:29 -0600
Andy Colson <[EMAIL PROTECTED]> wrote:
> Along with thoes questions I'd like to add one more.  tcpserver can
> deny an ip based on some rules in a .cdb file. (tcprules and friends).
>  I currently use that on my main email box and have a good 50 to 100
> spammers ip's in there.  (whever I start getting a massive amout of
> junk from one ip I just ban it)
> 
> My main server is not using qpsmtpd though...  just standard qmail. 
> so if I change it to run qpsmtpd-forkserver do I even need tcpserver
> style rules to ban ip's?  can/does rules like that exist for
> qpsmtpd-forkserver?
In the latest revision of forkserver (601) there's a new plugin, which
hooks pre-connection: hosts_allow. This allows to have hosts/networks
not to send mail (and of course exclude some hosts in a blocked
network). It drops the connection before forking with an SMTP error.
Oh: you now need to include this plugin anyway if you want the "max 
connections from one ip" working...

        Hanno

Reply via email to