Daniel Ruiz Molina wrote:
> I am filtering spam mails with "body_checks" directive in main.cf. In
> relative file, I filter some mails if they contains a certain character
> chain (for example: http://blablabla.com). Doing it, I am not accepting
> several spam mails, but I have notice a problem: when during night
> logwatch runs, it scans all log messages and it finds the chain
> "http://blablabla.com" in the mail.log. Logwatchs generate the log mail,
> but this mail also contains the chain and postifx also does a reject.
> Is there any way for filter with "body_checks" a chain but allow mails
> from localhost//root (logwatch mails to root) ???
Look at item 13 on the pflogsumm FAQ. Although it's
referencing pflogsumm, the issue and possible solutions are