【发布时间】:2015-02-06 01:49:53
【问题描述】:
我已经按照this guide 在我的Ubuntu 服务器上部署了Cuttlefish(Ruby on Rails 事务性电子邮件应用程序)。
访问 domain.example.com 并登录到 Cuttlefish 后,我点击 Test email,然后在 TO 框中输入我的 Gmail 地址,然后点击发送测试电子邮件。
我收到 已发送测试电子邮件 消息,但该电子邮件从未到达。我还尝试通过创建应用程序发送消息,然后尝试使用phpMailer 中的 smtp 凭据,但我无法连接到 smtp 服务器。
app页面给我的smtp设置如下:-
Protocol: SMTP
Host: localhost
Port: 2525
Username: test_2
Password: xxxxxxx
Authentication: plain
当我在终端中运行 telnet localhost 2525 时,出现连接被拒绝错误。
当我运行 netstat -anltp|grep :2525 时,我没有得到任何结果。
我已在我的服务器上安装并运行 postfix。
请你帮我通过 Cuttlefish 发送电子邮件。
【问题讨论】:
标签: ruby-on-rails ruby postfix-mta