On Fri, Oct 22, 2010 at 10:41 AM, Victor Duchovni <
victor.ducho...@morganstanley.com> wrote:

> On Fri, Oct 22, 2010 at 10:23:23AM -0700, Cameron Smith wrote:
>
> > On the gateway I have:
> > mynetworks = 127.0.0.0/8 10.0.132.0/24
> >
> > All mail servers on my LAN are in that range.
> >
> > On the inside machines I have:
> > relayhost = [10.0.132.15]
>
> 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.
>

Thank you Viktor.

On the inside mail servers
relay_domains =

On the gateway:
relay_domains = $mydomain

and:
mydomain = example.org

and mx for example.org is at google.

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

Sending off domain works fine.

Sending to someb...@example.org fails with:
Recipient address rejected: User
unknown in relay recipient table;

Reply via email to