Le 04/11/2010 05:07, Vincent Lefevre a écrit :
On 2010-11-03 22:55:59 -0500, Noel Jones wrote:
I'm so sorry you lost your twitter post.
Actually I might have lost other mail (though this is a bit unlikely)
since I was generally using an initial dot.
a good idea is to include both dotted and undotted entries:
example.com OK
.example.com OK
unless you have a reason not to do so.
if you search the archives for posts I've sent, you'll see that I always
include both.
also, parent_domain_... is deprecated. See
http://www.postfix.org/postconf.5.html#parent_domain_matches_subdomains
The recommendation is to empty it and use dots explicitely. here:
# postconf parent_domain_matches_subdomains
parent_domain_matches_subdomains =
The access map format you're looking for is
twitter.com OK
Thanks for the information. I've corrected the whole access file.
BTW, so, there is no way to match only subdomains (by that, I mean
all possible subdomains, but not the domain itself) without changing
parent_domain_matches_subdomains?
see above: it is recommended not to rely on parent_domain_...
otherwise, you can do whatever you want with pcre:
/\.example\.com$/ OK
or with sql or ldap.
I don't currently need such a feature, but I'm asking just in case...