| |||||||||||||||||||||||||||||||
|
According to http://www.postfix.org/access.5.html, "The pattern domain.tld also matches subdomains, but only when the string smtpd_access_maps is listed in the Postfix parent_domain_matches_subdomains configuration setting. Otherwise, specify .domain.tld (note the initial dot) in order to match subdomains". % postconf | 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 /usr/local/etc/postfix/client-restrictions: volia.net REJECT You are a spammer; stay away. % postmap -q volia.net hash:/usr/local/etc/postfix/client-restrictions REJECT You are a spammer; stay away. % postmap -q subdomain.volia.net hash:/usr/local/etc/postfix/client- restrictions % Is there something wrong with my configuration or does postmap -q just query the exact string and not match subdomains even though Postfix will? I understand an actual attempt by the offending mail server will eventually answer this question, but just curious about postmap functionality. Sahil
| ||||||||||||||||||||||||||||||
© 2004-2008 readlist.com