Re: [exim] Exim and Rspamd header x-spamd-result

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Emanuel Gonzalez
Datum:  
To: exim-users@exim.org
Betreff: Re: [exim] Exim and Rspamd header x-spamd-result
In the scaned mail only appear this headers

X-Spam-Score: 48.1
X-Spam-Score-Int: 481
X-Spam-Bar: ++++++++++++++++++++++++++++++++++++++++++++++++
X-Spam-Threshold: 50
X-Spam-Status: Yes
Subject: ****SPAM**** asd


________________________________
De: Emanuel Gonzalez <emanuel_gonzalez@???>
Enviado: martes, 24 de abril de 2018 12:53:26
Para: exim-users@???
Asunto: Re: [exim] Exim and Rspamd header x-spamd-result


In the ACL check_spam.


warn    message = X-Spam-Score: $spam_score
             condition = ${if <{$message_size}{512k}{1}{0}}
             spam = nobody:true/defer_ok


warn    message = X-Spam-Score-Int: $spam_score_int
             condition = ${if <{$message_size}{512k}{1}{0}}
             spam = nobody:true/defer_ok


warn    message = X-Spam-Bar: $spam_bar
             condition = ${if <{$message_size}{512k}{1}{0}}
             spam = nobody:true/defer_ok


warn   message = X-Spam-Report: $spam_report
            condition = ${if <{$message_size}{512k}{1}{0}}
            spam = nobody:true/defer_ok



________________________________
De: Emanuel Gonzalez <emanuel_gonzalez@???>
Enviado: martes, 24 de abril de 2018 12:40:02
Para: exim-users@???
Asunto: Re: [exim] Exim and Rspamd header x-spamd-result


Now that I received an answer, I explain my configuration.


exim current configuration:


#spamd_address = 172.17.2.230 783
spamd_address = 168.181.185.235 11333 variant=rspamd


warn    message = X-Spam-Score: $spam_score
             condition = ${if <{$message_size}{512k}{1}{0}}
             spam = nobody:true/defer_ok


warn    message = X-Spam-Score-Int: $spam_score_int
             condition = ${if <{$message_size}{512k}{1}{0}}
             spam = nobody:true/defer_ok


warn    message = X-Spam-Bar: $spam_bar
             condition = ${if <{$message_size}{512k}{1}{0}}
             spam = nobody:true/defer_ok


warn   message = X-Spam-Report: $spam_report
            condition = ${if <{$message_size}{512k}{1}{0}}
            spam = nobody:true/defer_ok


In Rspamd

cat milter_headers.conf
extended_spam_headers = true;
authenticated_headers = ["authentication-results"];

the rspamd documentation indicates that you just have to add the variable: extended_spam_headers = true