Hi, I have dedicated server and decided to move all emails to google business account. In case somebody doesn't know, google mail allows small businesses create an account so that all emails for *@yourdomain.com will be serviced at google. It is convenient for me but I have an issue setting this properly up.
I changed MX records from "mail" to "ALT1.ASPMX.L.GOOGLE.COM." like it was told in google. So now all emails which are sent to my address @mydomain.com go to google and everything works fine. But if I send an email from the inside of my server, but using mail command
echo "This is sent from my server" | mail -s "Hello world" [email protected]
this message doesn't go to google servers, it goes to my local dovecot/exim so that I have to connect to pop3 and grab the message. So I am thinking where I should go:
1. Should I uninstall dovecot completely?
2. Should I uninstall vmpop3 completely?
3. If I uninstall them, will I have opportunity to send emails from the inside of my server by using "mail" command? I need it.
4. How can I know which program does "mail" use - dovecot or exim?
5. How can I make my server forget about its own mail server and work correctly with google?
Thanks!
I changed MX records from "mail" to "ALT1.ASPMX.L.GOOGLE.COM." like it was told in google. So now all emails which are sent to my address @mydomain.com go to google and everything works fine. But if I send an email from the inside of my server, but using mail command
echo "This is sent from my server" | mail -s "Hello world" [email protected]
this message doesn't go to google servers, it goes to my local dovecot/exim so that I have to connect to pop3 and grab the message. So I am thinking where I should go:
1. Should I uninstall dovecot completely?
2. Should I uninstall vmpop3 completely?
3. If I uninstall them, will I have opportunity to send emails from the inside of my server by using "mail" command? I need it.
4. How can I know which program does "mail" use - dovecot or exim?
5. How can I make my server forget about its own mail server and work correctly with google?
Thanks!