Re: [exim] Two conditions for adding X-Spam-Flag

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Ian FREISLICH
Date:  
À: John Oxley
CC: exim-users
Sujet: Re: [exim] Two conditions for adding X-Spam-Flag
John Oxley wrote:
> I have this in my config for my outgoing SMTP server
>
> warn  message = X-Spam-Flag: YES
>    spam = spamd:true
>    condition = ${if >{$spam_score_int}{50}{1}{0}}

>
> How do I add a condition that it should only do this if the mail is
> going to +relay_to_domains.


You need to do that at routing or transport time then. I can't
think of a way to do this in an ACL when there are multiple recipients,
some in +local_domains and some in +relay_to_domains.

Ian

--
Ian Freislich