On Tue, Apr 04, 2017 at 06:11:00PM +0300, Александр Кириллов via Exim-users 
wrote:
> I need to discard mail from a known address to certain recipients IF the
> subject matches a known string. I've tried to add
> 
>   discard message = The $sender_address is prohibited to send commit
> notifications to these recipients
>           senders       = <known address>
>           recipients    = <recipient 1> : <recipient 2>
>           condition     = ${if match{$h_subject:}{Commit}}
> 
> to acl_check_data section of exim.conf but got an error:
> 
> ... temporarily rejected after DATA: cannot test recipients condition in
> DATA ACL

 This message points to "recipients" condition failure, not for the subject
 match. So inspect carefully right side of "recipients=..." expression.
 Try to run exim with -d+acl debugging flag.

 P.S. Use of cyrillic From: is not good for english-language mail list.
-- 
 Eugene Berdnikov

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

Reply via email to