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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Marc Sherman
Date:  
À: exim-users
CC: Ian Eiloart
Sujet: 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