Re: [exim] logging question - regex

Top Page
Delete this message
Reply to this message
Author: Always Learning
Date:  
To: Exim
Subject: Re: [exim] logging question - regex


On Tue, 2014-09-02 at 09:51 +1000, Alex wrote:

> Just wondering is there is a way to trim down what gets logged when
> there is an ACL match under acl_check_data. I have a regex acl that is
> helping drop mail from a long time spamming pest. The acl seems to work
> a treat however it logs part of the envelope to the reject log. I don't
> want this information in the logs as it makes them long and hard to
> read.


I use Logwatch. Today's Exim section for a backup MTA contains


--- A01 : hosts spammers list = 5

--- A03 : Host name absent = 21

--- A04 : No Reverse DNS = 2

--- A13 : home Internet host name = 1

--- C09 : Senders domain invalid = 3

All the 'real' entries are displayed whilst all the standard crap is
summarised.

It is easy to modify the file in /etc/logwatch/scripts/services/exim

The advantage is beautiful Exim logs, so delightful to read and the
abolition of daunting, laborious, time consuming and difficult to read
reports for every server. When required the actual logs can easily be
search with a small BASH script using grep or with some easy-to-write
PHP routines.

Let the computer do the work for YOU !

--
Regards,

Paul.
England, EU.

Centos, Exim, Apache, Libre Office.
Linux is the future. Micro$oft is the past.