Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello,
I am trying to get mail to work between users on a local machine. I am running Fedora 10. Normally this is set up on install but currently it is not working on a fresh install. When I try to send I either get the letter being saved into dead.letter or no message at all. When I run "mail -v 9 UserName" I get the output
Code:
mail -v 9 Ryan
Subject: Test
Test
EOT
Ryan,9... Connecting to [127.0.0.1] via relay...
220 localhost.localdomain ESMTP Sendmail 8.14.3/8.14.3; Mon, 19 Jan 2009 21:33:36 -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=203
250 2.1.0 <Ryan@localhost.localdomain>... Sender ok
>>> RCPT To:<Ryan@localhost.localdomain>
>>> RCPT To:<9@localhost.localdomain>
>>> DATA
550 5.1.1 <Ryan@localhost.localdomain>... User unknown
550 5.1.1 <9@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
I do not know why the user is unknown as it is the same user sending it. Any ideas on this why the user is unknown?
Have you checked the case, Ryan is not the same as ryan on *nix
First thing I check as I have done that on past systems
Quote:
Originally Posted by repo
try
mail -v Ryan
whu does it give:
via relay
And the result of mail -v Ryan
Code:
mail -v Ryan
Subject: Test
Test
EOT
Ryan... Connecting to [127.0.0.1] via relay...
220 localhost.localdomain ESMTP Sendmail 8.14.3/8.14.3; Wed, 21 Jan 2009 21:32:53 -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=200
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.