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

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Wolfgang Breyha
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] Exim and Rspamd header x-spamd-result
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 <wbreyha@???> | https://www.blafasel.at/
Vienna University Computer Center | Austria