<分区>
我什么都试过了,网上看书测试,收不到email出去:
telnet <IP> 25
EHLO
MAIL FROM: <from-email>
RCPT TO: <recipient-email>
DATA
Type message here.
. <Enter>
=>
我什至试过了,当我输入句点时,我什么也没得到 - 但安装了 postfix。
最佳答案
检查postfix是否正在运行
sudo postfix status
如果它没有运行,启动它。
sudo postfix start
然后telnet到localhost的25端口来测试email id
ehlo localhost
mail from: root@localhost
rcpt to: your_email_id
data
Subject: My first mail on Postfix
Hi,
Are you there?
regards,
Admin
.
不要忘记。在最后,表示行结束
关于ubuntu - Postfix 已安装,但我该如何测试它?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4798772/