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

Etusivu
Poista viesti
Vastaa
Lähettäjä: Marc Sherman
Päiväys:  
Vastaanottaja: exim-users
Kopio: Ian Eiloart
Aihe: 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