On 15.03.23 11:17, Gerd Hoerst via Postfix-users wrote:
in my /etc/postfix/main.cf
parent_domain_matches_subdomains = ..... . smtpd_access_maps
..
smtpd_sender_restrictions = ...... check_sender_access
hash:/etc/postfix/access
in my main.cfs
domain.com DISCARD Spam rule domain block
but emails from xxxx.yyyy.domain.com or xxxx.domain.com is still delivered.
were there any other rules? or subdomain listings in the /etc/postfix/access
?
blocking domain.com works
i also tried without smmtpd_access_maps under parent_domain_matches_subdomains
and used .domain.com in /etc/postfix/access
but also not success
btw: postmap /etc/postfix/access and postfix reload was done.. postfix is v
3.4.13 (Ubuntu 20.04)
Or you have another idea to block emails senderaddresses in a domain and its
subdomains ?
I recommend not using parent_domain_matches_subdomains and using
.example.com instead.
--
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.
WinError #98652: Operation completed successfully.
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org