Re: [Exim] Long spaces in subject line

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Nico Erfurth
Data:  
Para: George Szekely
CC: exim-users@exim.org
Asunto: Re: [Exim] Long spaces in subject line
On Mon, 30 Dec 2002, George Szekely wrote:

> I was hoping an expert user might be able to help me with a small
> issue I'm having.
>
> I would like to bounce any messages that contains more than 8
> consecutive spaces in the message subject. (Not checking spaces
> used to wrap the Subject header across multiple lines.)
>
> I've set up a system filter, but I don't think it recognizes blank spaces.
>
> #       $h_subject contains "        "


Have you tried it?
It should work, if not, try $h_subject matches " {8}"

If you use exim4, you should use a DATA-ACL something like this

deny message = Subject contains too many spaces
     condition = ${if match {$h_subject}{\N {8}\N}{1}{0}}


ciao