On Tue, Mar 29, 2016 at 08:17:52AM -0700, Michael Fischer wrote: > On Mon, Mar 28, 2016 at 8:22 PM, Viktor Dukhovni > <postfix-us...@dukhovni.org> wrote: > > > Any change in your configuration is not the result of upstream > > changes in Postfix. The "relay_domains" element is still there > > even in 3.2 snapshots. > > OK, let's assume that the change was caused by a vendor patch to > 2.9 that they undid with 2.10. > > What, then, should the expected behavior be with respect to how > Postfix matches dot-prefixed subdomains for the purpose of > matching?
My general comment here is, don't worry about the default setting of p_d_m_s, just set what you need. I generally unset it. > According to my reading of the documentation, if $relay_domains > includes ".example.com", it should relay mail for "sub.example.com", > regardless of whether or not "relay_domains" is included in > $parent_domain_matches_subdomains. This reading is wrong. The leading dot pattern never matches relay_domains if the p_d_m_s setting includes "relay_domains". It's not even looked up. > My understanding is that inclusion of (for example) "relay_domains" > in $parent_domain_matches_subdomains would treat "example.com" as > ".example.com" for matching purposes, but would otherwise be a > no-op if the subdomain is already dot-prefixed. Nope. If you want to use the leading dot pattern, take the [un]desired value out of p_d_m_s. -- http://rob0.nodns4.us/ Offlist GMX mail is seen only if "/dev/rob0" is in the Subject: