Today, I installed IMail on the server to send and receive mails. The IMail version is 8.22. The steps for installing the settings are not mentioned. There is a lot of information on the Internet. I went smoothly. Then conduct the mailbox test. I use Foxmail. The email is accepted normally, but the email cannot be sent. No error is reported when Foxmail is used for sending.
First, check whether the service and port are enabled. Use the Telnet command to link the port of the SMTP service. The service runs normally.
View IMail log files
Smtpd (5ee5013f00000003) [58.218.209.87] connect 121.233.17.1 port 2195
Smtpd (5ee5013f00000003) [121.233.17.1] EHLO Client
Smtpd (5ee5013f00000003) authenticated master@domain.com, Session treated as local.
Smtpd (5ee5013f00000003) [121.233.17.1] mail from: <master@domain.com>
Smtpd (5ee5013f00000003) [121.233.17.1] rcpt to: <372121888@qq.com>
Smtpd (5ee5013f00000003) [121.233.17.1] D: \ Software \ IMail \ spool \ d5ee5013f00000003. SMD 1573
SMTP-(5ee5013f00000003) processing D: \ Software \ IMail \ spool \ q5ee5013f00000003. SMD
SMTP-(5ee5013f00000003) [att-BLK] err: Unable to get host attachment blocking for yajuke.com
SMTP-(5ee5013f00000003) [att-BLK] err: unable to find attachment blocking host info for yajuke.com
SMTP-(5ee5013f00000003) Trying QQ.com (0)
SMTP-(5ee5013f00000003) stack connect fail "119.147.15.17"
SMTP-(5ee5013f00000003) stack connect fail "119.147.15.13"
SMTP-(5ee5013f00000003) requeuing D: \ Software \ IMail \ spool \ q5ee5013f00000003. SMD R0 T1
SMTP-(5ee5013f00000003) finished D: \ Software \ IMail \ spool \ q5ee5013f00000003. SMD status = 3
It can be seen that the domain name of QQ.com is being resolved incorrectly, so the problem should be caused by the DNS.
SMTP-(5ee5013f00000003) Trying QQ.com (0)
SMTP-(5ee5013f00000003) stack connect fail "119.147.15.17"
SMTP-(5ee5013f00000003) stack connect fail "119.147.15.13"
Check the SMTP settings of IMail and find that Domain Name Server address is not set. Set it to the address of the local DNS server. The email sending and receiving service is normal.