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.