On Mon, Dec 14, 2009 at 12:11:16PM -0500, Brian Evans - Postfix List wrote:
> You may have missed that the OP's domain in question is listed in
> mydestination. (main.cf vs 'postconf -n' noise)
>
> Without a parent_domain_matches_subdomains change, at least for
> mydestination, www.example.net will match example.net when example.net
> is listed in mydestination.
No. This is wrong. The "mydestination" match list is not subject to
parent domain matching, it is a list of literal domains.
The relay_domains match list is subject to parent domain matching,
and because it defaults to $mydestination, will by default include
sub-domains of domains listed in $mydestination. This backwards
compatibility should be turned off by all users who don't need it:
# Empty
relay_domains =
# Or
relay_domains = <explicit list of domains you want>
Best practice is to not use the default value for this parameter.
--
Viktor.
Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.
To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:[email protected]?body=unsubscribe%20postfix-users>
If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.