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

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Ian FREISLICH
Dátum:  
Címzett: John Oxley
CC: exim-users
Tárgy: 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