Re: [exim] One Word Message Body

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Marc Perkel
Data:  
Para: exim-users@exim.org >> \"'exim-users@exim.org'\"
Assunto: Re: [exim] One Word Message Body


Carlo Wood wrote:
> I suppose I am not the only one who wants to filter
> them out. Can someone post a working exim4 config snippet
> that would get rid of single-word spam?
>
>
> I am getting these too since about two days.


Here's what's working for me. You have to have 2 working MX records to
do this. The idea is that it does DEFER on the lowest one and the higher
one accepts it. Gets rid of 90% of them. Probably someone else could
write something better.

defer    message = TESTZ - DEFER - One word message - 
MS=$message_body_size - LC=$body_linecount
    condition = ${if match {$acl_c_lowest_mx}{lowest-mx}}
    !regex = \N\x20\w\N
    condition = ${if < {$body_linecount}{3}{yes}{no}}