rfleming
1st February 2009, 08:44 AM
Hi all,
I am trying to use the mail command in fedora 10 to send an email to users on the same machine. This worked fine in fedora 9 right out of the box. In 10 I am having a small issue. When I send I get the recipient as User Unknown, but the sender is ok.
Here is the output when I run "mail -v Ryan"
mail -v Ryan
Subject: Testing
Foo Bar!
EOT
Ryan... Connecting to [127.0.0.1] via relay...
220 localhost.localdomain ESMTP Sendmail 8.14.3/8.14.3; Sun, 1 Feb 2009 03:42:31 -0500
>>> EHLO localhost.localdomain
250-localhost.localdomain Hello localhost.localdomain [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:<Ryan@localhost.localdomain> SIZE=207
250 2.1.0 <Ryan@localhost.localdomain>... Sender ok
>>> RCPT To:<Ryan@localhost.localdomain>
>>> DATA
550 5.1.1 <Ryan@localhost.localdomain>... User unknown
503 5.0.0 Need RCPT (recipient)
>>> RSET
250 2.0.0 Reset state
/home/Ryan/dead.letter... Saved message in /home/Ryan/dead.letter
Closing connection to [127.0.0.1]
>>> QUIT
221 2.0.0 localhost.localdomain closing connection
The user name is cased correctly and localhost.localdomain is in my /etc/hosts. When I looked online most people had this issue when sending to a different domain. Has anyone run into this issue with localhost or have I just missed a config option?
I am trying to use the mail command in fedora 10 to send an email to users on the same machine. This worked fine in fedora 9 right out of the box. In 10 I am having a small issue. When I send I get the recipient as User Unknown, but the sender is ok.
Here is the output when I run "mail -v Ryan"
mail -v Ryan
Subject: Testing
Foo Bar!
EOT
Ryan... Connecting to [127.0.0.1] via relay...
220 localhost.localdomain ESMTP Sendmail 8.14.3/8.14.3; Sun, 1 Feb 2009 03:42:31 -0500
>>> EHLO localhost.localdomain
250-localhost.localdomain Hello localhost.localdomain [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:<Ryan@localhost.localdomain> SIZE=207
250 2.1.0 <Ryan@localhost.localdomain>... Sender ok
>>> RCPT To:<Ryan@localhost.localdomain>
>>> DATA
550 5.1.1 <Ryan@localhost.localdomain>... User unknown
503 5.0.0 Need RCPT (recipient)
>>> RSET
250 2.0.0 Reset state
/home/Ryan/dead.letter... Saved message in /home/Ryan/dead.letter
Closing connection to [127.0.0.1]
>>> QUIT
221 2.0.0 localhost.localdomain closing connection
The user name is cased correctly and localhost.localdomain is in my /etc/hosts. When I looked online most people had this issue when sending to a different domain. Has anyone run into this issue with localhost or have I just missed a config option?