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

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to