Re: [exim] drop emails by subject - should be simple

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-users
Subject: Re: [exim] drop emails by subject - should be simple
On 07/30/2018 10:47 AM, Gary Stainburn via Exim-users wrote:
>   drop    message   = Subject is know SPAM email, ignoring
>           log_message = Message dropped because of know SPAM Subject


- dubious grammar in those messages
- I prefer to put the conditions first

>           condition = ${if >{${strlen:$h_subject:}}{20}{yes}{no}}
>       condition = 
> ${lookup{"$h_subject:"}lsearch{/etc/exim/lists/subject.droplist}{yes}{no}}


- using "drop" rather than "deny" leaves the sender having to assume
there was an error. A positive rejection makes it more likely they
won't come back, and on false-positives will leave better log
information on the sending system for debugging

- you don't say where you placed this verb. If it's not in a data-time
ACL, the headers are not available

--
Cheers,
Jeremy