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

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Neil Youngman
Dátum:  
Címzett: jmc
CC: exim-users
Tárgy: Re: [exim] How can a set up a ACL rule to filter on message subject?
> deny condition = ${lookup{"$h_subject"}nwildlsearch{CONFDIR/Bad-subject}{1}{0}}
>       message    = Message subject line $h_subject looks like spam.


Is the problem a missing colon?

try

deny  condition  =  ${lookup{$h_subject:}nwildlsearch{CONFDIR/Bad-subject}{1}{0}}
      message    = Message subject line $h_subject looks like spam.


HTH

Neil