ZhangHuangbin 写道:
tianya1631 写道:

server reply: 504 5.5.2 <sham0111>: Helo command rejected: need fully-qualified hostname

启用 smtp 验证来发送邮件就不会有这个问题。

smtp 25已经启用,没用这个问题了,但是发送邮件要是很慢,差不多要30秒左右才能发出,是什么原因?谢谢

==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:v0.9.5-1
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):MySQL
- 使用的 Linux/BSD 发行版名称及版本号:CentOS6.7 X64
- 与您的问题相关的日志信息:网页端收发信正常,用第三方客户端foxmail只能接收不能发送
====


补充:查看官方文档,25端口开启后也可以发了,但是发送还是很慢,是什么问题呢? greylisting已经关闭

发送慢的问题,已解决,是网络的问题,换成电信的就好了。

smtp 用25端口就会有下面提示 ,用587端口可以发送,但是要发送很长时间(大概要1分钟),才能发出去

下面是客户端的发信时的报错信息:

server reply: 504 5.5.2 <sham0111>: Helo command rejected: need fully-qualified hostname

maillog信息:

May 20 15:01:15 mail postfix/smtpd[3067]: connect from unknown[52.246.93.22]
May 20 15:01:15 mail postfix/smtpd[3058]: connect from unknown[52.246.93.22]
May 20 15:01:15 mail postfix/smtpd[3067]: lost connection after CONNECT from unknown[52.246.93.22]
May 20 15:01:15 mail postfix/smtpd[3067]: disconnect from unknown[52.246.93.22]
May 20 15:01:15 mail postfix/smtpd[3058]: lost connection after CONNECT from unknown[52.246.93.22]
May 20 15:01:15 mail postfix/smtpd[3058]: disconnect from unknown[52.246.93.22]
May 20 15:01:20 mail postfix/smtpd[3070]: connect from unknown[52.246.93.22]
May 20 15:01:20 mail postfix/smtpd[3070]: lost connection after CONNECT from unknown[52.246.93.22]
May 20 15:01:20 mail postfix/smtpd[3070]: disconnect from unknown[52.246.93.22]
May 20 15:01:56 mail postfix/smtpd[3067]: connect from unknown[52.246.93.22]
May 20 15:01:56 mail postfix/smtpd[3067]: NOQUEUE: reject: RCPT from unknown[52.246.93.22]: 504 5.5.2 <sham0111>: Helo command rejected: need fully-qualified hostname; from=<test@test100.org.cn> to=<list113@163.com> proto=ESMTP helo=<sham0111>
May 20 15:01:56 mail postfix/smtpd[3067]: disconnect from unknown[52.246.93.22]