- 论坛徽章:
- 13
|
本帖最后由 ulovko 于 2012-06-03 17:28 编辑
回复 1# 夜真灰_
- > cd /etc/mail; makemap hash access.db < access
- > m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
- > /etc/init.d/sendmail restart
- > mail -vs 'AK Subject' ulovk@qq.com
- 一台虚拟机192.168.0.4 作为邮件服务器,安装sendmail。
- 网络连接方式为NAT,可以上网。
- 设置了DNS,和一个自己定义的domain。
- 域内发送邮件可以正常接收。
- 向外网发送的时候,在thunderbird上显示已经发送。
- 但是对方并没有受到邮件!
- 请问可能是什么原因?求各位大虾分析下!
- EOT
- ulovk@qq.com... Connecting to [127.0.0.1] via relay...
- 220 ko.kotzu.org ESMTP Sendmail 8.14.5/8.14.5; Sun, 27 May 2012 10:18:44 +0800 (CST)
- >>> EHLO ko.kotzu.org
- 250-ko.kotzu.org Hello localhost [127.0.0.1], pleased to meet you
- 250-ENHANCEDSTATUSCODES
- 250-PIPELINING
- 250-8BITMIME
- 250-SIZE
- 250-DSN
- 250-ETRN
- 250-DELIVERBY
- 250 HELP
- >>> MAIL From:<ko@ko.kotzu.org> SIZE=400
- 250 2.1.0 <ko@ko.kotzu.org>... Sender ok
- >>> RCPT To:<ulovk@qq.com>
- >>> DATA
- 250 2.1.5 <ulovk@qq.com>... Recipient ok
- 354 Enter mail, end with "." on a line by itself
- >>> .
- 250 2.0.0 q4R2Iiis083700 Message accepted for delivery
- ulovk@qq.com... Sent (q4R2Iiis083700 Message accepted for delivery)
- Closing connection to [127.0.0.1]
- >>> QUIT
- 221 2.0.0 ko.kotzu.org closing connection
- >
复制代码![]()
![]() |
|