Mar Matthias Darin wrote:
> Wakko Warner writes: 
> 
> >I'm not actually using the regexp above on my servers, yet.  Since I am the
> >sole user of the domain I have no problems blocking that.  I want to be 
> >more
> >strict on HELO checks, but I do not want to be as strict as verify=helo
> 
> This is the approach I use: 
> 
> drop    condition     = ${if match{$sender_helo_name} 
> {\N^[^.].*\.[^.]+$\N}{no}{yes}}
>       message       = HELO Violation 
> 
> drop    condition     = ${lookup 
> {${lc:$sender_helo_name}}lsearch{/usr/exim/MyIP}{yes}{no}}
>       condition     = ${lookup 
> {${lc:$sender_host_address}}lsearch{/usr/exim/MyIP}{no}{yes}}
>       message       = HELO Violation 
> 
> drop    condition     = ${lookup 
> {${lc:$sender_address_domain}}lsearch{/usr/exim/MyIP}{yes}{no}}
>       condition     = ${lookup 
> {${lc:$sender_host_address}}lsearch{/usr/exim/MyIP}{no}{yes}}
>       message       = HELO Violation 
> 
> drop    condition     = ${if isip {$sender_helo_name}{true}{false}}
>       message       = HELO Violation 

Looks like exactly what I currently do.

-- 
 Lab tests show that use of micro$oft causes cancer in lab animals
 Got Gas???

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to