Amavis how to handle?
Mike Tremaine <[email protected]>
| Newsgroups | gmane.comp.log.logwatch.devel |
|---|---|
| Message-ID | <[email protected]> |
I'm getting an unmatched entry for every email. List so May 12 11:44:32 kraken amavis[6728]: (06728-17) Passed, <[email protected]> -> <[email protected]>, quarantine 2Q2nUslMB2Fz, Message-ID: <[email protected]>, Hits: -2.106 May 12 11:44:32 kraken amavis[6728]: (06728-17) Passed CLEAN, <[email protected]> -> <[email protected]>, Hits: -2.106, tag=4, tag2=6.3, kill=6.3, L/0/0/0 The first log line is unmatched the second is. But I think that it is just extra info I do not think it needs to be counted. This patch seems to tack care of it [mgt@dwarfstar services]$ cvs diff amavis Index: amavis =================================================================== RCS file: /var/cvs/logwatch/scripts/services/amavis,v retrieving revision 1.54 diff -r1.54 amavis 565a566 > or ($p1 =~ /^(Passed|Blocked),.*Hits: ([-+.\d]+)$/) But since I do not have much experience with amavis I wanted to check before I commit this. -Mike