HOWTO: send email from my VPS but receive at Google?
What is minimum I need to set up on my Linode VPS to send emails.
Many Thanks
Bos
2 Replies
1. Install Postfix, e.g. apt-get install postfix
2. Edit /etc/postfix/main.cf and disable connections from outside
inet_interfaces = loopback-only
3. Send emails from your Linode!
4. Point your domain's MX records to Google's mail servers
5. Receive emails at Google!
This is what I did:
On debian -- Exim 4.69 was installed, so using that
Run "sudo dpkg-reconfigure exim4-config"
to set up the basics
- was already able to send mails using
"mail
- but also set up my SPF in DNS TXT just to be sure
Not sure what pro / con of Exim vs Postfix is but OK for now.
Regards
Bos