Re: [Exim] ACL Spam Rejection Tricks

Pàgina inicial
Delete this message
Reply to this message
Autor: Marc Perkel
Data:  
A: 'Exim Users'
Assumpte: 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