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 - 17:41:04 GMT

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

> On the gateway I have:
> mynetworks =
> All mail servers on my LAN are in that range.
> On the inside machines I have:
> relayhost = []

Do NOT list remote domains in "relay_domains". If you don't own the
MX record, it is not a relay_domain. If it is a relay_domain, have
a working "relay_recipient_maps" table with all the valid accounts.

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.

-- Viktor.