Michelle Konzack <[EMAIL PROTECTED]> wrote on 2008-Nov-07: > Is there a way limiting the messages coming from one IP/relay per day?
Your firewall can also limit connections by ip addresses. In linux running something like: iptables -A INPUT -p tcp --dport 25 -i eth0 -m state --state NEW \ -m recent --set iptables -A INPUT -p tcp --dport 25 -i eth0 -m state --state NEW \ -m recent --update --seconds 3600 --hitcount 600 -j DROP Would limit incoming smtp connections on eth0 to 600 connections per hour per ip address. Any more than that will be dropped, and they will continue to be dropped until the server sends less than 600 in an hour. And Gordon Messmer's Pythonfilter has a "ratelimit" filter which, I believe, limits incoming connections per ip address. I think in that case it returns a 400 level response, instead of a dropped connection. So the sending server knows to try again later. But Gordon could explain it much better. HTH Jeff ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
