Re: Logwatch Dovecot Deliver Summary

Orion Poplawski <[email protected]>
Newsgroups gmane.comp.log.logwatch.devel
Message-ID <[email protected]>
On 05/13/2014 03:39 AM, Klaipedaville on Google wrote:
> Hey Orion!
> You are the man! I got working! Many thanks!
> All my custom configuration is working fine, I did not change anything in
> there at all. Do you know where this tiny silly little problem was? You
> wouldn’t believe it I spent 7 days looking for it!
> It was in here /usr/share/logwatch/default.conf/services/dovecot.conf:
> #*OnlyService = (imap-login|pop3-login|dovecot)
> *RemoveHeaders = "^\w{3} .\d \d\d:\d\d:\d\d (?:[^\s:]* )?"
> These two lines looked like this:
> OnlyService = (imap-login|pop3-login|dovecot)
> RemoveHeaders = "^\w{3} .\d \d\d:\d\d:\d\d (?:[^\s:]* )?"
> as soon as I returned the #* and * in front of it it started to behave!
> Well, the second line is rather understandable and self explanatory. However,
> could anybody please, explain what the heck does the first line do? Well, my
> guess is and my eyes tell me which is quite obvious that it is supposed to
> check OnlyService of imap, pop3, and dovecot login. But I see it’s commented
> out by default and nothing ever happens if I also try to put it in use either
> with * or without * Is it perhaps for Unix accounts only as my virtual users
> (non-Unix) are not affected by this line of code in any way?

*OnlyService is not "commented out".  The * indicates an executable script for 
logwatch.  The OnlyService script is used to filter syslog logfiles and only 
get the requested services.  This doesn't work for your dovecot-info.log files 
because these are not syslog files and do not contain the syslog service field.


-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       [email protected]
Boulder, CO 80301                   http://www.nwra.com

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Logwatch-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/logwatch-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.