Re: [exim] helo regexp checks

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Mar Matthias Darin
Date:  
À: exim-users
Sujet: Re: [exim] helo regexp checks
Hello,

Dudi Goldenberg writes:

> One is to add some regexp checks to exim's HELO/EHLO checks, I have the following:
>
> acl_check_helo:
>   accept  hosts = @[] : @
>         endpass
>   deny message = FQHN Required.
>     condition = ${if ! match {$sender_helo_name}{\N^[^.].*\.[^.]+$\N}}
>   deny message = FQHN required. Address literals prohibited by local policy.
>     condition  = ${if match {$sender_helo_name} {^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\$|^\[[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\]\$} {yes}{no}
>     accept


If you are trying to catch dynamic IP addresses, then DynaStop may work well
for you. It specifically addresses the issue of identifying dynamic
patterns. It also works very well in a clustered situation.

The url is:

http://freshmeat.net/projects/dynastop/


---

The Matthias Chronicles
http://tanaya.net/MatthiasChronicles/