Description of problem:
We need to implement Sendmail's rate throttling module to automatically
reject hosts which get infected by viruses or spambots. Sendmail does
provide for this in the form of the 'ratecontrol' and 'conncontrol'
modules but they are not working.
Documentation on these modules is available in /usr/share/sendmail-cf/README
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Add lines to /etc/mail/sendmail.mc (after 'FEATURE(access_db):
dnl # Limit machines sending viruses
2. Add lines to /etc/mail/access:
3. Rebuild configuration files and restart sendmail:
m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
service sendmail restart
We've unfortunately just been blacklisted due to a user's machine being
infected by a spambot which sent out over 16,000 messages over a two hour
The configuration above should automatically limit clients when sending
more than 10 emails within 600 seconds (10 minutes) when the connection
originates from the 192.168.0.0/16 or 10.0.0.0/16 subnets.
This is a duplicate of 219762
*** This bug has been marked as a duplicate of 219762 ***