Log SpamAsssassin X-Spam-Status (rules and scores) into amavis log file

Dusan Obradovic dusan at euracks.net
Fri Jul 19 15:54:42 CEST 2019



> On Jul 19, 2019, at 2:56 PM, mabi <mabi at protonmail.ch> wrote:
> 
> Hello,
> 
> I would like to log the typical X-Spam-Status mail header which gets added by SpamAssassin to a mail into the amavis log file in order to track the rules and their scores which gets triggered by ham and spam mails.
> 
> Is this somehow possible with Amavis?
> 
> Regards,
> Mabi
> 

You may want to set $log_templ to log additional information.

$log_templ = $log_verbose_templ;


More information about the amavis-users mailing list