I installed a greylisting application to work with my postfix installation, which has dramatically reduced the amount of spam that gets processed by my server.
However, it is writing a line to the maillog file for every policy rejection - code 450 4.2.0. Is there a way to keep logwatch from reporting these? It’s taken my logwatch mails from about 20k to sometimes well over 5M in size, and thus it’s hard to spot real problems.
I was going to suggest a logwatch configuration change rather than disappearing the log entries (I never like to disable any event logs in the MTA–it can make it really hard to troubleshoot problems), and this is definitely nicer than just ignoring the 450 rejections.