当我尝试发送电子邮件时haraka
,swaks
我收到以下错误:
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.
我使用本手册来设置 Haraka 的出站电子邮件。哪些可能是错误,我该如何解决和避免它?