Re: [Exim] Denying a particular HELO

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: John Jetmore
Fecha:  
A: Jeff Bonner
Cc: exim-users
Asunto: 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