Le 05/11/2010 10:03, Vincent Lefevre a écrit :

[hash/cdb/...]

- if parent_domain_matches_subdomains contains smtpd_access: here, the
search list is
     S = ( lab1.lab2.lab3.example.com, lab2.lab3.example.com,
lab3.example.com ..., com, 1.2.3.4, 1.2.3, 1.2, 1 )
so postfix will search for each element of this set and stops as soon as a
match is found.
Testing the tld alone seems to be excluded by the access(5) man page,
which only documents "domain.tld", i.e. the pattern must contain
at least one dot.

No dot required. so "com" is not excluded from the search list.
otherwise, hash/cdb and the like can't be used to block mail from *...@*.invalid for example.

  Is it an error in the man page (which could say
"domain" instead, like in Section "Email address extension") or is
it intentional?

yes, it should be "domain" instead of "domain.tld". you can submit a documentation patch;-p




Reply via email to