2022. 04. 27. 8:16 keltezéssel, Ludi Cree írta:
Hi all,
I would like to exclude non-existing subdomains from this rule:
"reject_unknown_sender_domain"
that I have on the end of my sender-restrictions here:
smtpd_sender_restrictions = check_sender_access
hash:/var/spool/postfix/plesk/blacklists, permit_sasl_authenticated,
reject_non_fqdn_sender, check_sender_access pcre:/etc/postfix/pcre_sender,
reject_unknown_sender_domain
So I put in my PCRE check before that:
/\.that-domain\.com$/ OK
/.*\.that-domain\.com$/ OK
Tested in https://www.debuggex.com/?flavor=pcre
--
[Varadi Gabor]