Re: [exim] Deny crappy HELO (fwd)

Top Page
Delete this message
Reply to this message
Author: Wakko Warner
Date:  
To: Mar Matthias Darin
CC: exim-users
Subject: Re: [exim] Deny crappy HELO (fwd)
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???