Re: [exim] exim with rspamd connection with clamav

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Graeme Fowler
Date:  
À: exim-users@exim.org
Nouveaux-sujets: [exim] Sophie - was Re: exim with rspamd connection with clamav
Sujet: Re: [exim] exim with rspamd connection with clamav
On 9 May 2018, at 19:51, Emanuel Gonzalez via Exim-users <exim-users@???> wrote:
> Thanks for the reply, in the exim configure i not add the parameter "scanner = sophie".


Correct; the default value (when av_scaner is unset) is:

    av_scanner = sophie:/var/run/sophie


> i only add this config:
>
> spamd_address = x.x.x.x 11333 variant=rspamd
>
> deny    malware = */defer_ok
> message = This message contains a virus ($malware_name).


You are defining a spam scanner, then calling a malware scanner. The two are not the same thing.

You need something like:

    spamd_address = x.x.x.x 11333 variant=rspamd


    deny    spam = nobody:true/defer_ok
            message = Message rejected: spam


How you return info to the caller and/or log the detail of the spam lookup using $spam_report, $spam_score, $spam_score_int, $spam_bar and friends is up to you.

Graeme