[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: customizing spamassassin reports <solved>



> hhhm, the headers are generated by exim. Excerpt from the
> /etc/exim4/conf.d/acl/40_exim4-config_check_data file:
>
>    warn message = X-Spam-Score: $spam_score ($spam_bar)
>         condition = ${if <{$message_size}{80k}{1}{0}}
>         spam    = nobody:true
>
>
>    warn message = X-Spam-Report: $spam_report
>         condition = ${if <{$message_size}{80k}{1}{0}}
>         spam    = nobody:true
>
>
>    warn message = X-Spam-Flag: YES
>         spam    = nobody
>
>
>    #deny message = This message scored $spam_score spam points
>    #     spam    = nobody:true
>    #    condition = ${if >{$spam_score_int}{120}{1}{0}}
>
>
> deny message = This message contains a virus or other harmful
> content ($malware_name)
> demime = *
> malware = *
>
> So how do i get my headers? Can i remove the blocks containing
> X-Spam-Score and X-Spam-Report?
> Why didn't the settings in my /etc/spamassassin/local.cf result in
> adding the headers that i want then?

I solved the problem by disabling the spam check in the acl.
This only has a couple of vars that can be used to trigger the spam reports.
After disabling that and setting up a router and transport and making an /etc/spamassassin/local.cf with the headers like I want, the problem is gone.

Regards,
Benedict
--
Benedict Verheyen                   Debian User
http://www.heimdallitservices.be    Public Key 0x712CBB8D



Reply to: