Re: Amavis how to handle?
MrC <[email protected]>
| Newsgroups | gmane.comp.log.logwatch.devel |
|---|---|
| Message-ID | <[email protected]> |
Mike Tremaine wrote: > Mike Tremaine wrote: >> MrC wrote: > >>> It is advised to disable the per-message entry when you enable >>> per-recipient entries. From amavis' Release Notes: >>> >>> - added $log_recip_templ variable, which is similar to $log_templ, >>> but gets called for every recipient (the $log_templ is evaluated >>> only once per message). Normally one or the other log template should >>> be disabled by assigning undef or an empty string to the corresponding >>> variable; >>> > > > Hmm I don't see that option [$log_recip_templ] in the server in question. > > root@kraken:~ # rpm -q amavisd-new > amavisd-new-2.3.3-1.rf.endian10 > > >> root@kraken:~ # grep log_ /etc/amavisd.conf >> #$log_level = 5; # (defaults to 0) >> # $log_level=0) (take care to properly quote Perl special characters like '\') >> # $log_templ = '[? %#V |[? %#F ||banned filename ([%F|,])]|infected ([%V|,])]# >> $log_templ = '[? %#V |[? %#F |[?%#D|Not-Delivered|Passed]|BANNED name/type (%F)]|INFECTED (%V)], # > It is embedded in a __DATA__ section at the end of amavisd, the server script itself. > -Mike