0

几个月前我已经更新了 debian stable,从那以后在我的机器上我无法通过这个命令或类似的脚本发送邮件:echo "something" | mailx 等作为响应,我得到以下输出:

echo “Subject: sendmail test” | mail -v xxxx@gmail.com
LOG: MAIN
  <= yyyy@aaaa.it U=root P=local S=479
➜  ~ delivering 1mRIey-0001hx-76
R: smarthost for xxxx@gmail.com
T: remote_smtp_smarthost for xxxx@gmail.com
Connecting to mail.aaaa.it [.....]:25 ...  TFO mode sendto, no data: EINPROGRESS
 connected
  SMTP<< 220 directadmin30.fastnom.com ESMTP Exim 4.94 Fri, 17 Sep 2021 20:32:28 +0200
  SMTP>> EHLO bbbb.fritz.box
  SMTP<< 250-directadmin30.fastnom.com Hello host-8.....retail.telecomitalia.it [....]
         250-SIZE 52428800
         250-8BITMIME
         250-PIPELINING
         250-X_PIPE_CONNECT
         250-AUTH PLAIN LOGIN
         250-STARTTLS
         250 HELP
  SMTP>> STARTTLS
  SMTP<< 220 TLS go ahead
  SMTP(close)>>
LOG: MAIN
  TLS session: (certificate verification failed): delivering unencrypted to H=mail.aaaa.it [....] (not in hosts_require_tls)
Connecting to mail.aaaa.it [.....]:25 ...  TFO mode sendto, no data: EINPROGRESS
 connected
  SMTP<< 220 directadmin30.fastnom.com ESMTP Exim 4.94 Fri, 17 Sep 2021 20:32:29 +0200
  SMTP>> EHLO bbbb.fritz.box
  SMTP<< 250-directadmin30.fastnom.com Hello host-......retail.telecomitalia.it [.....]
         250-SIZE 52428800
         250-8BITMIME
         250-PIPELINING
         250-X_PIPE_CONNECT
         250-AUTH PLAIN LOGIN
         250-STARTTLS
         250 HELP
  SMTP>> MAIL FROM:<yyyy@aaaa.it> SIZE=1515
  SMTP>> RCPT TO:<xxxx@gmail.com>
  SMTP>> DATA
  SMTP<< 250 OK
  SMTP<< 550 authentication required
  SMTP<< 503-All RCPT commands were rejected with this error:
         503-authentication required
         503 Valid RCPT command must precede DATA
  SMTP>> QUIT
  SMTP(close)>>
LOG: MAIN
  ** xxxx@gmail.com R=smarthost T=remote_smtp_smarthost H=mail.aaaa.it [....]: SMTP error from remote mail server after RCPT TO:<xxxx@gmail.com>: 550 authentication required
LOG: MAIN
  <= <> R=1mRIey-0001hx-76 U=Debian-exim P=local S=2028
delivering 1mRIez-0001i3-JU
R: system_aliases for yyyy@aaaa.it
LOG: MAIN
  ** yyyy@aaaa.it: Unrouteable address
LOG: MAIN
  Frozen (delivery error message)
LOG: MAIN
  Completed

(我已经清除了 ip、域等)

我已经重新配置、修改、重新检查了所有别名、exim、邮件等配置文件,但什么也没有;我告诉 exim4 使用 587 端口,但从这个日志看来它只使用 25 我可以通过 telnet 发送邮件,但我也必须使用“AUTH LOGIN”命令

4

0 回答 0