08.02.2023 12:14, Viktor Dukhovni wrote:
..
/etc/postfix/sender-access:
top REJECT I employ crude anti-spam measures
.top REJECT I employ crude anti-spam measures
On 18.02.23 09:34, Michael Tokarev wrote:
I wonder how effective to block just the TLDs. I guess it is zero, no?
guys use this because many people use parent_domain_matches_subdomains to
contain smtpd_access_maps, even when it's discouraged:
http://www.postfix.org/postconf.5.html#parent_domain_matches_subdomains
I *guess* foo@top shouldn't really work, as it is non-fqdn in terms of
postfix, and is blocked by, say, reject_non_fqdn_sender.
So only entries like .top (with the leading dot) are needed here
(± the context, which is about how good it is to block-by-tld).
.top only works when parent_domain_matches_subdomains does NOT contain
smtpd_access_maps:
http://www.postfix.org/access.5.html
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; 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.
Windows found: (R)emove, (E)rase, (D)elete