In the appropriate ACL (connect, mail, rcpt - I tend
to do rejections/deferrals in rcpt, so I can see the
from/to that were presented), try this:

defer    condition     = ${if eq {$host_lookup_failed}{1} {yes}{no}}


On Tue, 5 Oct 2010, Jim Pazarena wrote:

> Date: Tue, 5 Oct 2010 12:38:44
> From: Jim Pazarena <e...@paz.bz>
> To: exim-users@exim.org
> Subject: [exim] rejecting un-resolvable IPs at smtp time
> 
> In an effort to reduce spam, I would like to defer (rather than outright 
> refuse) reception
> on any message that comes from a server without a PTR.
>
> I am not sure how to create an ACL to check for a non-existent 
> PTR/unresolvable IP.
> I haven't found in FAQs this question.
>
> Advice would be appreciated.
> Thanks,
>
>
>

-- 
--------------------------------------------------------
  Dave Lugo     dl...@etherboy.com      No spam, thanks.
  Are you the police?  . . .  No ma'am, we're sysadmins.
--------------------------------------------------------

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

Reply via email to