Re: [exim] exim with rspamd connection with clamav

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Graeme Fowler
Dátum:  
Címzett: exim-users@exim.org
Új témák: [exim] Sophie - was Re: exim with rspamd connection with clamav
Tárgy: 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