noisy amavisd-log, how to reduce but keep spam-score and attachment-log?
Timo Walter
timo at chefdelacuisine.de
Wed Aug 9 11:44:48 CEST 2017
Am 09.08.2017 um 10:43 schrieb Matus UHLAR - fantomas:
> On 09.08.17 08:25, steveg wrote:
>> I have amavisd-new 2.10.1 on debian with $log_level = 2 running. I need
>> amavis log infos about spam-score (in a logfile-line which starts with
>> spam-tag) and about attachements (name, size), but no noisy
>> performance-infos like below. How could performance-details in syslog be
>> disabled? Switching to $log_level = 1 wouldn't gain infos about
>> attachements and score.
>
> I'm afraid this can be only done by modifying amavis.
> However I also use $log_level = 2 for seeing final score and I think it
> would be nice if amavis provided this with lower log levels.
>
Try
$log_level = 1;
$log_templ = $log_verbose_templ;
This gives a log with checks and scores.
More information about the amavis-users
mailing list