1

exim system filter foranyaddress condition wont work

view story
linux-howto

http://serverfault.com – i am trying to setup exim system filter, it should be skipped for certain recipients, but condition always fails: Filter looks like: # Exim filter if foranyaddress $h_to: ( $thisaddress contains "lists.example.loc" ) then finish elif $h_X-SIGN-ADDED: is not contains "yes" then headers add "X-SIGN-ADDED: yes" seen pipe "/etc/mailsystem/sign/sign.py $sender_address $recipients" endif my test.msg is Message-ID: <[email protected]> Date: Mon, 25 Jun 2012 12:39:18 +0400 From: Hikaru <[email protected]> User-Agent: Mozilla/5.0 (X11 (HowTos)