- 论坛徽章:
- 0
|
系统是SunOS 5.10. 是公司内部的server,没有internet连接,需要发邮件给公司的员工。
sendmail基本上是使用默认设置,但是发邮件总是不成功,在“354 Enter mail, end with "." on a line by itself" 之后就停住了。
$PWD > root@server: /usr/lib/sendmail -v name@server.abc.com </dev/null
name@abc.com... Connecting to [127.0.0.1] via relay...
220 server.abc.com ESMTP Sendmail 8.14.4+Sun/8.14.4; Tue, 6 May 2014 16:08:37 +1000 (EST)
>>> EHLO server.abc.com
250-server.abc.com Hello localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
>>> VERB
250 2.0.0 Verbose mode
>>> MAIL From:<name@server.abc.com>
250 2.1.0 <name@server.abc.com>... Sender ok
>>> RCPT To:<name@server.abc.com>
>>> DATA
250 2.1.5 <name@server.abc.com>... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .
<--- 就停在这里,需要按Ctrl-c才能退出。^CClosing connection to [127.0.0.1]
>>> QUIT
我试过手动输入邮件内容,输入.回车后也没有任何反应。
官网上的几个troubleshooting的步骤我也试过,好像没什么问题。望各位指教! |
|