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

I have postfix set up for use as an STMP server to send mail for my domain, but I receive email for the domain via gmail/google apps. The reason I use my own postfix is because I send out a lot of transactional emails to my customers using a web app, and the volume would exceed what google allows with its SMTP servers.

Everything works fine, except cron & system mail gets routed to local users on the server, not to the appropriate accounts at google mail. How can I route this system mail to the respective google mail accounts instead?

share|improve this question

2 Answers 2

In this case the answer was very simple: blanking out the mydestination entry in /etc/postfix/main.cf

mydestination =
share|improve this answer
    
So that server thinks it's not the destination for anything? –  Nic Cottrell Mar 4 at 8:58

Have you tried using the virutal aliases to redirect the email correctly? I am not sure if this will do what you want to do or not.

Jay

share|improve this answer
    
Note sure, but I believe virtual aliases require me to enter each username and the corresponding email address individually.. I'd prefer a simpler, widespread solution if possible. –  scotts Feb 18 '10 at 23:07

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.