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              \
\ madi...@theca-tabellaria.de /


--
## subscription configuration (requires account):
##   https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
##   exim-users-unsubscr...@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to