postfix-users October 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: Postfix and Google

Re: Postfix and Google

From: Victor Duchovni <Victor.Duchovni_at_nospam>
Date: Fri Oct 22 2010 - 18:11:36 GMT
To: postfix-users@postfix.org

On Fri, Oct 22, 2010 at 10:59:06AM -0700, Cameron Smith wrote:

> > If you are accidentially listing sub-domains of $mydestination
> > in $relay_domains, because of the backwards-compatible default
> > setting, consider removing "relay_domains" from
> > "parent_domain_matches_subdomains" and setting "relay_domains"
> > explicitly to the desired (perhaps empty) value.
>
> On the inside mail servers
> relay_domains =
>
> On the gateway:
> relay_domains = $mydomain

This is wrong. Set "relay_domains =" (empty).

> and:
> mydomain = example.org
>
> and mx for example.org is at google.

Hence, these are not relay_domains for your gateway.

> Why is this not working and what do I need to change?

Remove the domain you don't host nor are an MX host for, from
"relay_domains".

-- Viktor.