Google Cloud - Server Mail Instance

拈花ヽ惹草 提交于 2019-12-11 10:36:42

问题


I am intending to install SENDMAIL as MTA Mail Server into a new INSTANCE dedicated exclusively (smarthost) to that on GCE running Linux Wheezy; I already have running an instance that holds the wordpress-website structure. Unfortunatly GCE does not have any INSTANCE to hold such service as it has for WORDPRESS.

My Question

I would like to know if anyone here has such experience that relates to this action to give me any advice.

Google Cloud Compute Engine (GCE) when relates to Mail advices to Postfix/SendGrid, as well as it informs the only ports to work with to SMTP, etc...but I don´t think Postfix/SendGrid being the best approach. I want to use my own hostname servername and setup MX Records, to work in paralel with the other web-site-driven-instance.

Regards,


回答1:


I've sent mail from GCE instances before. It can be useful to mail logs, updates, alerts or what ever you want.

However, to send mail from a GCE instance, you NEED a non-GCE server through which you would relay mail. This is where SendGrid or other providers come in. You can authenticate to Google's Gmail SMTP servers as well if you use a Google Account.

In summary, here are your options:

  1. Relay your messages via your own standalone SMTP server or some other third-party like SendGrid. See Google Cloud Platform docs for more info.
  2. Use IMAP auth with Google Accounts so that you could send from Google's SMTP servers.
  3. If you're a Google Apps for Work customer, you can use their SMTP relay service.

Just a GCE instance alone, won't be enough to send your mail.



来源:https://stackoverflow.com/questions/29449039/google-cloud-server-mail-instance

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!