Re: subdomains matching in access file

2009-08-31 Thread Magnus Bäck
On Thursday, August 06, 2009 at 12:12 CEST, J Channel wrote: > > postmap(1) only does "raw" lookups. It won't do subdomain matches. It > > doesn't even know that it's a hostname you're looking up -- the meaning > > of the special lookup keys is context-dependent. > > I try it with running po

Re: subdomains matching in access file

2009-08-06 Thread J Channel
Thx! I try it with running postfix and it works ok. But another question: why with this configuration of parent_domain_matches_ subdomains "cn" matches any chinas domains, and ".cn" - does not? postmap(1) only does "raw" lookups. It won't do subdomain matches. It > doesn't even know that it's a h

Re: subdomains matching in access file

2009-08-06 Thread Magnus Bäck
On Thursday, August 06, 2009 at 11:09 CEST, J Channel wrote: > 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 > > ~# postc

subdomains matching in access file

2009-08-06 Thread J Channel
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_