[Logwatch] Help with running postfix scans with Logwatch

Stefan stefan at localside.net
Wed Jan 27 15:10:03 MST 2010


Sharada wrote:
> Hi,

Hello,

<snip>
> Problem - Logwatch email not reporting any information from postfix logs

<snip>
 
> /usr/share/logwatch/default.conf/services/postfix.conf
> Title = postfix
> # Which logfile group...
> LogFile = maillog
> # Only give lines pertaining to the postfix service...
> *OnlyService = "postfix/[a-zA-Z0-9]*"
> *RemoveHeaders =

LogFile = maillog refers to 
/usr/share/logwatch/default.conf/logfile/maillog.conf

So, you should create a new maillog.conf in /etc/logwatch/conf/logfiles/ or 
change your logfile group in your service script to postfix

> Since my mail log firectory is /usr/local/psa/var/log/maillog
> I changed /etc/logwatch/conf/logfile/postfix.conf
> /usr/local/psa/var/log/maillog
> 
> /etc/logwatch/conf/services/postfix.conf
> LogFile=maillog
> 
> Yet there are no reports of postfix in my mail log.
> 
> Thanks!

best regards
Stefan


More information about the Logwatch mailing list