Le 02/01/2023 à 20:38, Laurent Frigault a écrit :
Hi,
Is there any way to have some smtpd_access_maps with
parent_domain_matches_subdomains and some other without it ?
I have :
smtpd_recipient_restrictions =
permit_mynetworks
reject_non_fqdn_sender
reject_unknown_sender_domain
reject_unauth_destination
check_sender_access hash:$config_directory/sender_access
check_recipient_access hash:$config_directory/rcpt_recipient_access
....
I would like to have parent_domain_matches_subdomains in
rcpt_recipient_access and not in sender_access
Without parent_domain_matches_subdomains matching property, subdomains
of mydomain.net are expressed as .mydomain.net.
So in parent_domain_matches_subdomains put two lines for domains for
witch you want subdomain matching.
For sane behavior I always disable parent_domain_matches_subdomain
matching and always use explicit subdomain matching where needed. That
is a personal preference.
Emmanuel.