[CentOS] sendmail and rbl blocking - generating statistics

Will McDonald wmcdonald at gmail.com
Wed Mar 14 09:17:18 UTC 2007

On 14/03/07, Erick Perez <eaperezh at gmail.com> wrote:
> I have enabled the feature in sendmail.mc to check with spamhaus for
> spammers. However since this block is being made at MTA level, I would
> like to know is something can be done to obtain statistics of blocked
> attemps.

What's the Sendmail feature called? And does it generate specific log
entries in /var/log/maillog? Could you provide a couple of sample log

It should be relatively easy to either add another script or modify
the Sendmail script ( /etc/log.d/scripts/services/sendmail - be sure
to use revision control or keep a pristine copy) to Logwatch to parse
specific entries out of maillog and to include a breakdown of them in
your daily Logwatch mails. Or to knock up an additional item in
Cacti/Munin or just use MRTG/RRDTool directly, to generate graphical


More information about the CentOS mailing list