我陷入SSH telnet会话中,试图测试一个SMTP连接,但是当我输入一个时间段来提交测试电子邮件的数据时,什么都没有发生。
我可以用控件结束会话]——但我想提交数据,而不是关闭会话。我错过了什么?
Ubuntu 16.04客户端。Debian 8服务器。Q邮件。

Connected to localhost.
Escape character is '^]'.
rcpt to: <[email protected]>

mail from: <[email protected]>
250 ok
rcpt to: <[email protected]>
250 ok
data
354 go ahead
From: Test_sender <[email protected]>
To: Test_receiver <[email protected]>
Subject: Just a stupid SMTP test

Just a test !

\r\n503 MAIL first (#5.5.1)<return linefeed doesn't do anything either)
^Q^S
-->.<------------------------------------
(single period on one line-formatting issue)

^C
^Q
quit
exit
bye

最佳答案

我按照使用指南重新安装了所有程序,并获得了
所需功能。网站是qmailrocks

关于linux - 发送telnet smtp数据命令并以句号结尾不起作用,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/40435226/

10-16 11:39