Re: [Exim] filtering on &nbsp in subject

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Nico Erfurth
Date:  
À: Jeff Lasman
CC: Exim-Users (E-mail)
Sujet: 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