nanog mailing list archives

Re: Throttling mail


From: Scott Call <scall () devolution com>
Date: Thu, 25 Mar 2004 10:41:45 -0800 (PST)


On Thu, 25 Mar 2004, Adi Linden wrote:


Does anyone have any resources on building a mail relay that would limit
the amount of email a single user or ip address can relay over a given
time period?

I have a spam/virus problem that is getting out of hand.


Depending on your MTA poison of choice there's lots out there.  Personally
I use exim in most of my deployments, and it has a very nice progressive
rate limiting feature (ie accept two MAIL commands with no delay, at 0.5
seconds for the third, scaling at a rate a 1.05 times per message until 5
minute delay per message is reached) that is fully configurable.
(http://www.exim.org/exim-html-4.30/doc/html/spec_14.html#IX1351)

Exim, as well as almost every other MTA out there has support for inline
virus scanning, which may help with your problem as well.

-Scott


Adi




!DSPAM:4062fb3090826102911420!




-- 
Scott Call      Router Geek, ATGi, home of $6.95 Prime Rib
I make the world a better place, I boycott Wal-Mart
VoIP incoming: +1 360-382-1814


Current thread: