Re: [Exim] exim4.20 with exiscan... spam-feature

Page principale
Supprimer ce message
Répondre à ce message
Auteur: David Saez
Date:  
À: Margrit Lottmann
CC: exim-users
Sujet: Re: [Exim] exim4.20 with exiscan... spam-feature
Hi !!

> but I've a problem with spam-feature.
>
>   warn message = Subject: *SPAM* $h_Subject
>        spam = nobody

>
> With this confguration I get a second Subject-Header line if
> spam is over system-wide threshold


Exim cannot replace headers inside acl's, you must do that on the
system filter, i.e:

if $h_x-spam-score: contains "++++++++"
then
        headers add "New-Subject: [SPAM] $h_subject:"
        headers remove subject
        headers add "Subject: $h_new-subject:"
        headers remove new-subject
        headers add "X-Spam-Flag: YES"
endif


--
Best regards ...

You look like something the cat refused to drag in.

----------------------------------------------------------------
   David Saez Padros                http://www.ols.es
   On-Line Services 2000 S.L.       e-mail  david@???
   Pintor Vayreda 1                 telf    +34 902 50 29 75
   08184 Palau-Solita i Plegamans   movil   +34 670 35 27 53
----------------------------------------------------------------