Re: [exim] Deny crappy HELO

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Drav Sloan
Data:  
Para: Dennis Davis
CC: exim-users
Assunto: Re: [exim] Deny crappy HELO
Dennis Davis wrote:
> Something like:
>
>   deny    message = Rejected because of unacceptable syntax in \
>                     HELO/EHLO name:\n\
>                     $sender_helo_name\n\
>                     This is commonly associated with misconfigured \
>                     mail software;\n\
>                     see RFC2821 section 4.1.2 for legal domain syntax.
>           log_message = invalid HELO syntax $sender_helo_name
>           condition = ${if ! match {$sender_helo_name}{\N^[^.].*\.[^.]+$\N}}


Another popular method:

  deny    message       = ....
         !condition     = ${if match{$sender_helo_name}{\\\.}{yes}{no}}


Regards                                                                         


D.