Re: Proper ACL condition to block failed rDNS lookup

Markus Reschke via Exim-users <[email protected]>
Newsgroups gmane.mail.exim.user
Message-ID <[email protected]>
Hi!

On Sat, 7 Jun 2025, AC via Exim-users wrote:

> I want to block any connection that doesn't have a successful rDNS (logs 
> report "no host name found") but searching around results in so many 
> different variants of an ACL rule to do this.

I've got following in acl_check_rcpt (because I want to log/see the sender 
and recipient):

   # deny hosts without reverse mapping
   deny    hosts          = !+relay_from_hosts
           !authenticated = *
           message        = Reverse DNS lookup failed for host 
$sender_host_address.
           !verify        = reverse_host_lookup

ciao
  Markus
-- 
/ Markus Reschke              \
\ [email protected] /


-- 
## subscription configuration (requires account):
##   https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
##   [email protected]
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.