Receive and redirect Google Apps emails of my domain on Ubuntu 14
I set-up my VPS with exim4 to send emails from my server.
I also tried with Postfix, and the result is the same.
I use Google Apps for addresses email on my domain.
My MX DNS are correctly set-up.
I can send and receive emails on my Google Apps Webmail.
With my VPS, i can send emails, there is no problem here, but when I send emails on adresses on my domain (for example, a contact form), I receive the emails on my VPS, and not on the webmail of Google Apps.
For example, if I send an email at email@example.com with a contact form in PHP, it will be send, but I will find it in a folder of my VPS (mbox or /var/mail/root for example), but i won't find it on the Google App webmail of firstname.lastname@example.org.
In fact, I want to know how to redirect emails sent on my domain to the Google App webmail and not in a local folder/file on my VPS.
Someone knows how to do that and can help me ?
Thank you for your help !