Trying to close access from one domain and it subdomains via access
file.

~# echo ".karpatik.cn   REJECT" >> /etc/mail/access
~# echo "karpatik.cn   REJECT" >> /etc/mail/access
~# postmap /etc/mail/access

~# postconf -n | grep parent
parent_domain_matches_subdomains = debug_peer_list,
fast_flush_domains, mynetworks, permit_mx_backup_networks,
qmqpd_authorized_clients, relay_domains, smtpd_access_maps

~ # postmap -c /etc/postfix -q "karpatik.cn" hash:/etc/mail/access
REJECT
~# postmap -c /etc/postfix -q "mail.karpatik.cn" hash:/etc/mail/access
~#
Why subdomain does not matched?

Reply via email to