Re: [Exim] ACL Spam Rejection Tricks

Top Page
Delete this message
Reply to this message
Author: Marc Perkel
Date:  
To: 'Exim Users'
Subject: Re: [Exim] ACL Spam Rejection Tricks
Thanks for the help. Here's what I ended up doing to require a subject
exist. It gets rid of a lot of junk.

deny    condition     = ${if def:h_subject: {no}{yes}}
    message       = Message Rejected - Subject Header Missing


deny    condition     = ${if match{$h_subject:}{.+}{no}{yes}}
    message       = Message Rejected - Subject Required