I have postfix on my Ubuntu 12. My server has real domain name (ddd). But I would like to use postfix for web scripts on my server to sending out emails.
My real domain name is connected with GMail. And it works well.
I have username on my server like xxx. And the same username I have on GMail (which is connected with my domain name ddd).
So when scripts from my server sending out email to user xxx@ddd it's sending it to local user xxx on my server ddd. But i would like to receive it on GMail.
is it possible ?
my MX record is Ok.
ddd. 3600 IN MX 5 alt2.aspmx.l.google.com. ddd. 3600 IN MX 10 aspmx2.googlemail.com. ddd. 3600 IN MX 10 aspmx3.googlemail.com. ddd. 3600 IN MX 10 aspmx4.googlemail.com. ddd. 3600 IN MX 10 aspmx5.googlemail.com. ddd. 3600 IN MX 1 aspmx.l.google.com. ddd. 3600 IN MX 5 alt1.aspmx.l.google.com.
my main dns record is also good. my real domain name is resolved well.