Hi!

  Thanks for the very quick answer! 

  I obviously missed something ;) because I tried some configurations
with the "parent_domain_matches_subdomains" parameter and none worked
for me.

  The idea of the dot I got from the description of the parameter
"parent_domain_matches_subdomains":

parent_domain_matches_subdomains (default: see "postconf -d" output)


What Postfix features match subdomains of "domain.tld" automatically,
instead of requiring an explicit ".domain.tld" pattern. 

   I inherited a server that was functioning properly and had the
following parameters:

relay_domains = example.com
parent_domain_matches_subdomains = debug_peer_list, fast_flush_domains,
mynetworks, permit_mx_backup_networks, qmqpd_authorized_clients,
relay_domains, smtpd_access_maps

  When I installed the new server, I configured these parameters as it
were in the old machine, but still not receiving emails from outside.
Only when I place the dot worked.

  Reading carefully now(as you suggested me :) ) I realized that this
will be the future behavior of postfix, so I only will keep the
configuration with the dot.


On Thu, 2010-02-18 at 09:48 -0500, Wietse Venema wrote: 
> 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.
> 

Reply via email to