Dairenn Lombard wrote:
Hello,
I'd like to know if there is a way to limit the rate of SMTP connections
that can be established by any one IP address at a time to qmail?
A message might be refused because spamhaus has stated it's coming from
the IP address of a known spammer, but qmail still has to burn one of
its available connections as set by
/var/qmail/control/concurrencyremote, and, spamd still has to start,
which takes up 28MB of RAM. We added it up, and the amount of memory
our server has limits the most reasonable number of simultaneous
instances of spamd (and then concurrencyremote connections) is 72. This
seems to be fine under most circumstances (with the average SMTP
connections simultaneously occuring being around 40).
But sometimes this shoots up to 200, causing timeouts on the part of
customers trying to send out e-mail. So we want to make it so that all
200 connections are basically coming from 200 separate and distinct
customers before investing more memory in the mail server.
You can set the number of incoming connections (total) by the file
/var/qmail/control/concurrenyincoming
It's defined on the wiki.
Otherwise you'd probably have to do something in the firewall.
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]