Emanuel Gonzalez via Exim-users wrote on 24/04/18 16:30:
> Hello.!! I'm migrating the antispam from my server, from SpamAssassin to
> Rspamd, because i need redis.
>
>
> I have configured it correctly but it does not print the "x-spamd-result"
> header. Has someone configured this antispam service?
Do you use "variant=rspamd"? Do you add the header?
This works here:
....
spamd_address = ${acl_m_spamd}
....
# lets try rspamd
warn set acl_m_spamd = 127.0.0.1 xxxx variant=rspamd
defer spam = $acl_m_username:true
condition = no
warn spam = $acl_m_username:true
set acl_m_rsdhdr = X-Rspamd-Action: $spam_action\n\
X-Rspamd-Score: $spam_score\n\
X-Rspamd-Report: $spam_report
log_message = RSPAMD: $spam_report
...
headers_add = ${if def:acl_m_rsdhdr{$acl_m_rsdhdr}{}}
Greetings, Wolfgang
--
Wolfgang Breyha <[email protected]> | https://www.blafasel.at/
Vienna University Computer Center | Austria
--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/