On 27 Apr 2019, at 18:21, @lbutlr wrote:
On 27 Apr 2019, at 14:28, Bill Cole
<[email protected]> wrote:
On 27 Apr 2019, at 15:28, TG Servers wrote:
But you mean to keep reject_non_fqdn_helo_hostname and
reject_invalid_helo_hostname, right?
Yes but as part of smtpd_helo_restrictions with a substantial
check_helo_access map ahead of them which has a bunch of OK entries
I don't have any before but permit_my_networks.
I keep permit_my_networks out of my postfix config entirely.
smtpd_helo_restrictions = permit_mynetworks,
reject_invalid_helo_hostname,
reject_non_fqdn_helo_hostname, check_helo_access
pcre:/etc/postfix/helo_checks.pcre permit
grep -i reject /var/log/mail.log | grep -o "helo=<.*>" | sort -u
results in a list of servers I am pretty sure I don't want mail from,
including a lion's share from the .live TLD ad some hangers-on from
.top.
What sort of checks do you have ahead of reject_invalid_helo_hostname
and reject_non_fqdn_helo_hostname?
Just a check_helo_access with a bunch of names & a few patterns that are
unqualified or technically invalid but which I've had reason over the
space of a decade to want mail from and others which are formally valid
but have perfect records of only providing garbage (e.g. my own system's
valid hostnames and IPs, *.local, etc.)
--
Bill Cole
[email protected] or [email protected]
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Available For Hire: https://linkedin.com/in/billcole