Re: [Exim] filtering on &nbsp in subject

Góra strony
Delete this message
Reply to this message
Autor: Nico Erfurth
Data:  
Dla: Jeff Lasman
CC: Exim-Users (E-mail)
Temat: Re: [Exim] filtering on &nbsp 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}}


Nico