The command that you proposed goes through, like

WARNING: local host name (localhost) is not qualified; see cf/README: WHO AM I?
root... Connecting to [127.0.0.1] via relay...
220 localhost ESMTP Sendmail 8.14.3+Sun/8.14.3; Fri, 17 Apr 2009 13:08:20 +0800 
(MYT)
>>> EHLO localhost
250-localhost Hello SolU.my.place.edu.my [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:<udip...@localhost> SIZE=60
250 2.1.0 <udip...@localhost>... Sender ok
>>> RCPT To:<r...@localhost>
>>> DATA
250 2.1.5 <r...@localhost>... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .
050 <r...@localhost>... Connecting to local...
050 220 SolU LMTP ready
050 >>> LHLO localhost
050 250-SolU
050 250-8BITMIME
050 250-ENHANCEDSTATUSCODES
050 250 PIPELINING
050 >>> MAIL From:<udip...@localhost>
050 250 2.5.0 ok
050 >>> RCPT To:<root>
050 >>> DATA
050 250 2.1.5 ok
050 354 go ahead
050 >>> .
050 250 2.1.5 root OK
050 <r...@localhost>... Sent
250 2.0.0 n3H58KWl001139 Message accepted for delivery
root... Sent (n3H58KWl001139 Message accepted for delivery)
Closing connection to [127.0.0.1]
>>> QUIT
221 2.0.0 localhost closing connection

The same command with mail still gets stuck:
$ mail -s "should go through" root
body with mail
.
.


I still wonder where that 'localhost' comes from, though??

$ cat /etc/hosts | grep localhost
::1     localhost       loghost SolU
# 127.0.0.1     localhost       loghost SolU

Does sendmail work in IPv6??

Uwe
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to