Re: [exim] How can a set up a ACL rule to filter on messages…

Top Page
Delete this message
Reply to this message
Author: Marc Sherman
Date:  
To: exim-users
CC: Ian Eiloart
Subject: Re: [exim] How can a set up a ACL rule to filter on messagesubject?
John M Collins wrote:
>>>
>>> deny
>>>    condition  = 
>> ${lookup{"$h_subject"}nwildlsearch{CONFDIR/Bad-subject}{1}{0}}
>>>    message    = Message subject line $h_subject looks like spam.\n\ 
>>>        Please change subject and resend if not.


Remove the quotes, and add a terminal : to $h_subject:. Header names
must be terminated with either a colon or whitespace.

- Marc