【问题标题】:Too many bad command: outbound emails with Haraka太多错误命令:与 Haraka 的出站电子邮件
【发布时间】:2015-02-25 17:28:20
【问题描述】:

当我尝试使用harakaswaks 发送电子邮件时,出现以下错误:

521 Too many bad commands

我使用以下参数执行swaks

swaks -f from@domain.com -t myemail@domain.com -s localhost -p 587 -au matt -ap pass

文件config/auth_flat_file.ini

[core]
methods=LOGIN

[users]
matt=pass

swaks 给我以下输出

=== Trying localhost:587...
=== Connected to localhost.
<-  220 server ESMTP Haraka 2.5.0 ready
 -> EHLO server
<-  250-server Hello Unknown [127.0.0.1], Haraka is at your service.
<-  250-PIPELINING
<-  250-8BITMIME
<-  250-SIZE 500000
<-  250 AUTH LOGIN
 -> AUTH LOGIN
<-  334 VXNlcm5hbWU6
 -> bWF0dA==
<** 521 Too many bad commands
*** No authentication type succeeded
 -> QUIT
*** Remote host closed connection unexpectedly.

我使用this manual 为出站电子邮件设置 Haraka。 哪些可能是错误,我该如何解决和避免它?

【问题讨论】:

    标签: node.js email smtp sendmail haraka


    【解决方案1】:

    接下来是我的解决方案:

    编辑文件 max_unrecognized_commands - 输入比默认值最大的数字(例如 20)并使用以下参数运行 swaks

    swaks --to user@domain.com --server localhost --port 587 -au matt -ap test --from notify@someserver.com

    【讨论】:

      猜你喜欢
      • 2016-09-28
      • 1970-01-01
      • 2016-05-20
      • 2011-09-30
      • 2016-02-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-01-20
      相关资源
      最近更新 更多