Re: [Exim] Denying a particular HELO

Etusivu
Poista viesti
Vastaa
Lähettäjä: John Jetmore
Päiväys:  
Vastaanottaja: Jeff Bonner
Kopio: exim-users
Aihe: Re: [Exim] Denying a particular HELO
On Tue, 18 Feb 2003, Jeff Bonner wrote:

> The second part of my question is this: how would I program Exim
> to completely and unabashedly ignore these requests, since they are
> unsolicited and annoying?


Here's a router I used on exim 3.36 that works great, although it could
be cleaned up, I'm sure. I was in a hurry when I wrote it:

refuse_helo:
driver = domainlist
verify_only
verify
fail_verify
condition = ${if eq {$sender_helo_name}{BAD_HELO_STRING}{yes}{no}}
route_list = *

it returns a 550 after every RCPT TO on connections that use
BAD_HELO_STRING. I haven't had to do something like this on an exim 4
server yet. I'm sure there's a much spiffier way to do this, though.

--John