Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need some help with a postfix server && a google apps gmail account.

Basically, I have a mail server to handle accounts. At the same time, I have a google apps account for the domain, which manages this email account:

The problem is that when the local server tries to deliver a message to, it obviously tries to deliver it locally, but I need that messages to arrive to the external gmail account.

Anyone knows a trick to tell postfix to deliver that concrete email address not locally?

Thanks in advance, Simon.

share|improve this question
I may be wrong but is it so called relay? – Andrejs Cainikovs Oct 2 '09 at 8:19
The mail would loop-back it itself... – rkthkr Oct 2 '09 at 8:56
up vote 4 down vote accepted

Do your gmail account have a address? If so just forward to that address. or use postfix transport(_maps):
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.