Autor: Nico Erfurth Data: A: Jeff Lasman CC: Exim-Users (E-mail) Assumpte: Re: [Exim] filtering on   in subject
Jeff Lasman wrote:
> We'd like to either refuse (I know, we shouldn't do that after data) or
> filter out to /dev/null all email with in the subject.
>
> Has anyone done this? Can you point me to a quick howto?
>
> I'm going nuts trying to figure this out. I'm sure I'm missing
> something simple, but it's driving me nuts.
Add this to your acl_smtp_data acl.
deny message = We don't allow Subjects starting with
condition = ${if match {$h_subject:}{^ }{1}}