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?
On 27 Apr 2019, at 14:28, Bill Cole
<[email protected]> wrote:
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
On 27 Apr 2019, at 18:21, @lbutlr wrote:
I don't have any before but permit_my_networks.
On 27.04.19 23:13, Bill Cole wrote:
I keep permit_my_networks out of my postfix config entirely.
on machines that are not on private network, I set "mynetworks_style=host"
so permit_mynetworks helps avoiding restrictions like rejecting own hostname
when connected from the same host.
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.)
having local host name there (REJECT) could help much, at least here many
spambots in the past have used my hostname trying to spam me.
--
Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
On the other hand, you have different fingers.