[Pkg-exim4-users] no host name found mails, how can I change from warning to actively rejecting. I did read the spec

Nate Homier exim at universal-mechanism.org
Sat Apr 6 17:12:58 UTC 2013


no host name found for IP address 176.16.162.37
koubis1 at trademih.ru H=(176.16.162.37)


How can I set it so it rejects.  Also I should mention that %100 of all
legit email that I get has a reverse host name.  %100 of all email that
fails this on my system is pure spam.  The legit emails that come to
this system are tightly controlled.

I am trying to understand how to write my own entry but I have not
gotten very far with the spec yet.

# Warn if the sender host does not have valid reverse DNS.
# If sender_host_address is defined, it's a remote call.  If
# sender_host_name is not defined, then reverse lookup failed.  Use
# this instead of !verify = reverse_host_lookup to catch deferrals
# as well as outright failures.
.ifdef CHECK_RCPT_REVERSE_DNS
warn
condition = ${if and{{def:sender_host_address}{!def:sender_host_name}}\
{yes}{no}}
add_header = X-Host-Lookup-Failed: Reverse DNS lookup failed for
$sender_host_address (${if eq{$host_lookup_failed}{1}{failed}{deferred}})
.endif



More information about the Pkg-exim4-users mailing list