Diosney Sarmiento Herrera: > > > Hi! > > I'm new in the list, so excuse me if I send something that is already > posted. > > We needed to configure a relay host for our domain(eg: example.com) > and all subdomains as well(eg: a.example.com, a.b.example.com) so we set > the relay_domains parameter to "example.com", which don't work at all > for us(the host relays mails from the example.com domain but not for any > of the subdomains). > > We do some tests and the only way for us to acomplish this was adding > a dot to the beggining of the domain at relay_domains(eg: .example.com). > > This is a normal behaviour? The postfix documentation says that this > effect is achieved without the need of place the dot.
When in doubt, read documentation carefully. Wietse http://www.postfix.org/postconf.5.html#relay_domains relay_domains (default: $mydestination) What destination domains (and subdomains thereof) this system will relay mail to. SUBDOMAIN MATCHING IS CONTROLLED WITH THE PAR- ENT_DOMAIN_MATCHES_SUBDOMAINS PARAMETER.