Re: [Exim] Denying a particular HELO

Top Page
Delete this message
Reply to this message
Author: John Jetmore
Date:  
To: Jeff Bonner
CC: exim-users
Subject: 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