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

Re: Postfix and Google

From: Matt Hayes <dominian_at_nospam>
Date: Fri Oct 22 2010 - 16:56:17 GMT
To: postfix-users@postfix.org

On 10/22/2010 12:46 PM, Cameron Smith wrote:
>
> On Fri, Oct 22, 2010 at 9:10 AM, Cameron Smith <velvetpixel@gmail.com
> <mailto:velvetpixel@gmail.com>> wrote:
>
> I have my mail system set up with 11 Postfix mail servers on my LAN
> servers that send mail out through a single Postfix mail gateway.
>
> mx for my domain is to google mail servers as mail accounts are
> handled there.
>
> When an application on one of my servers tries to send mail to a
> mail account on my domain it fails:
>
> Recipient address rejected: User
> unknown in relay recipient table;
>
> It's obviously looking locally for that user.
>
> How do I configure the mail servers and gateway to send mail to
> accounts on my domain so they can be received by the google mail
> servers?
>
>
>
> So I found this tutorial:
> http://www.blogternals.com/2009/04/30/postfix-google-apps-gmail-smtp-relay/
>
> Is this the correct direction to solve my issue?
> If so does that need to be on each mail server or just on the gateway?

If you plan on using your Postfix server as a client and relaying
outbound email via Google Apps, sure.

-Matt