Re: [exim] Deny crappy HELO

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Drav Sloan
Ημερομηνία:  
Προς: Dennis Davis
Υ/ο: exim-users
Αντικείμενο: 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.