Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

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

The problem is that when the local server tries to deliver a message to example@example.org, 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
add comment

1 Answer

up vote 4 down vote accepted

Do your gmail account have a username@gmail.com address? If so just forward to that address. or use postfix transport(_maps):

example@example.org  smtp:gmail-smtp-in.l.google.com:25
share|improve this answer
add comment

Your Answer

 
discard

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.