-   Fedora (
-   -   sendmail won't do anything (

ichi 04-07-2005 10:27 AM

how to set up a Fedora 3 mail server
I am a newbie to Linux, and even more to Fedora 3.

I have ssh access to a FC3 server upon which I'm trying to set up a mail server with sendmail.

On my laptop which I work from I can do sendmail -v user@localhost < hello.txt' and a message with the contents of 'hello.txt' magically arrives in user's inbox (when logged in as that user and do 'mail' in bash).

But on this simply refuses to work. when I do the same operation on the server, I get this:


user@localhost... Connecting to [] via relay...
localhost ESMTP Sendmail 8.13.1/8.13.3; Thu, 7 Apr 2005 08:22:50 -0700
>>> EHLO
localhost Hello localhost.localdomain [], pleased to meet you
250 HELP
>>> VERB
250 2.0.0 Verbose mode
>>> MAIL From:<user@localhost> SIZE=6
250 2.1.0 <user@localhost>... Sender ok
>>> RCPT To:<user@localhost>
>>> DATA
050 <user@localhost>... WARNING: cannot open alias database /etc/mail/aliases; reading text version
250 2.1.5 <user@localhost>... Recipient ok (will queue)
354 Enter mail, end with "." on a line by itself
>>> .
050 <user@localhost>... queued
250 2.0.0 j37FMoRm012174 Message accepted for delivery
user@localhost... Sent (j37FMoRm012174 Message accepted for delivery)
Closing connection to []
>>> QUIT
221 2.0.0 localhost closing connection

(I've replaced the server's name with localhost host and the username with user; I'm trying to send the mail to myself).

Which appears to be perfectly OK, apart from the alias warning...I've no idea what that's about. But when I check user's doesn't exist.

I am totally unexperienced with these matters, so I have no idea what might be wrong and so have done nothing to fix it.

This doesn't work for any user, including root.

If I get sendmail to work, will that only work for sending mail? What is a good program to use for recieving mail?

VERY many thanks for any help...this is really annoying me :mad: .

EDIT: Newbie me didn't set up DNS, that's why it didn't work. Sorry, Mods feel free to delete this thread :newbie:

All times are GMT -5. The time now is 07:35 PM.