任何人都可以帮助我configuration后缀与亚马逊ses请使用..我可以成功地按照使用sendgrid https://developers.google.com/compute/docs/sending-mail这里的说明,它使用sendgrid工作正常..
但我想调整设置,以使用亚马逊SES而不是sendgrid,我甚至不知道如果这是可能的,似乎谷歌已经封锁了所有的SMTP端口。
任何帮助非常感谢…
我试过这些.. http://docs.aws.amazon.com/ses/latest/DeveloperGuide/postfix.html,但没有运行debian 7谷歌虚拟机实例
我终于也开始工作了,根据答案中的意见,我将提供我是如何一步一步做到的。
亚马逊在答案中使用了提到的端口,这里在STARTTLS下面提到: http : //docs.aws.amazon.com/ses/latest/DeveloperGuide/smtp-connect.html#smtp-connect-secure-tunnel
我有一个已经工作的后缀安装,并遵循在问题中发布的指南: http : //docs.aws.amazon.com/ses/latest/DeveloperGuide/postfix.html
我在我的Ubuntu上安装stunnel使用:
sudo apt-get install stunnel4
按照这里指南: http : //docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-smtp-secure-tunnel.html
最后的stunnel配置文件的内容:
[smtp-tls-wrapper] accept = 2525 client = yes connect = email-smtp.eu-west-1.amazonaws.com:2587 delay = yes cert = /etc/stunnel/mail.pem protocol = smtp
重要笔记:
解决它已经..如果它可以帮助其他Google实例虚拟机可以使用端口2587.我解开了从我的控制台,然后使用流行的phpmailer php库发送邮件…
现在所有的工作都很完美
找到端口很难..谷歌文档没有说清楚..
只需使用端口2587.就是这样。 (我已经通过PHPmailer测试过。)