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

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Marc Sherman
Dátum:  
Címzett: exim-users
CC: Ian Eiloart
Tárgy: 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