【问题标题】:I got an error "500 Unrecognized command" when sendding a test email in redmine在 redmine 中发送测试电子邮件时出现错误“500 Unrecognized command”
【发布时间】:2013-04-22 18:06:44
【问题描述】:

我可以在 Redmine 中使用 gmail smtp 发送电子邮件。但是当我使用 out smtp 服务时,得到错误:500 Unrecognized command。有一个 crontab 发送电子邮件也使用相同的 smtp 服务邮件,但它工作得很好。 configuration.yml 中的电子邮件配置如下:

production:
  email_delivery:
    delivery_method: :smtp
    smtp_settings:
      address: "mail.topxia.net"
      port: 25
      authentication: :login
      domain: 'mail.topxia.net'
      user_name: 'user'
      password: 'mypassword' 

在command中运行“telnet mail.topxia.net 25”,结果为:

Trying 127.0.1.1...
Connected to topxia.net.
Escape character is '^]'.
220 howzhi.net ESMTP Haraka 1.2.1 ready

我不知道这有什么问题!任何人都可以帮助我吗?谢谢!

【问题讨论】:

    标签: smtp redmine


    【解决方案1】:

    在我开始使用 Postfix 发送邮件之前,我在以前的版本中遇到了同样的问题。 这允许我使用 TLS 通过 Amazon SES(或任何服务器)服务器发送。

    我在Redmine中唯一的配置是“投递方式:sendmail”。

    你可能有理由坚持使用 Redmine 机制,但我发现我的问题在使用 Postfix 后就消失了。

    一些可能有帮助的资源: http://www.linuxgurru.com/2010/05/how-to-setup-email-notification-on-redmine/ http://blog.duoconsulting.com/2012/01/30/using-amazons-ses-with-postfix-as-a-smarthost-forwarder/

    我通常不只是提供一个替代方案作为唯一的选择,但在这种情况下,它是我所知道的唯一一个,它可以以最少的努力工作。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2012-08-23
      • 1970-01-01
      • 1970-01-01
      • 2018-01-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多