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

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Ian FREISLICH
日付:  
To: John Oxley
CC: exim-users
題目: 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