Hello all,
I have questions about sendmail, I have successly installed sendmail
on my linux machine (redhat 9). I have not done any configurations to
any files becuase I don't really know what/how to congifure the files that
are needed to be configured. I have successfully tried sending email internally to users on the box using:
[root@timedb mail]# telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 localhost.localdomain ESMTP Sendmail 8.12.8/8.12.8; Wed, 3 Dec 2003 09:51:04 -0600
helo root
250 localhost.localdomain Hello timedb [127.0.0.1], pleased to meet you
mail from: root@localhost
250 2.1.0 root@localhost... Sender ok
rcpt to: trantv@localhost
250 2.1.5 trantv@localhost... Recipient ok
data
354 Enter mail, end with "." on a line by itself
Subject: Mail Test!
Do not reply, This is a Test!
.
250 2.0.0 hB3Fp4gl027015 Message accepted for delivery
quit
221 2.0.0 localhost.localdomain closing connection
Connection closed by foreign host.
You have new mail in /var/spool/mail/trantv
CHECKING RECIEVED MAIL
==========================
[root@timedb mail]# mail
Mail version 8.1 6/6/93. Type ? for help.
"/var/spool/mail/trantv": 6 messages 6 new
>N 1
root@localhost.local Tue Dec 2 14:39 14/514 "Mail Test"
N 2
trantv@localhost.loc Tue Dec 2 15:04 12/433 "Test!!!!"
N 3
root@localhost.local Tue Dec 2 15:52 14/514 "Mail Test"
N 6
root@localhost.local Wed Dec 3 08:44 14/521 "Mail Test"
N 7
root@localhost.local Wed Dec 3 08:45 14/521 "Mail Test"
N 8
root@localhost.local Wed Dec 3 09:52 12/458 "Mail Test!"
& 8
Message 8:
From
root@localhost.localdomain Wed Dec 3 09:52:41 2003
Date: Wed, 3 Dec 2003 09:51:04 -0600
From: root <root@localhost.localdomain>
Subject: Mail Test!
Do not reply, This is a Test!
===========================
Finally my question is how do I send mail externally? I have tried using the same steps shown above using rcpt to:
trantv826@yahoo.com and I mail gets put into the mailq with a message saying:
[root@timedb mail]# mail
Mail version 8.1 6/6/93. Type ? for help.
"/var/spool/mail/trantv": 8 messages 8 new
>N 1
root@localhost.local Tue Dec 2 14:39 14/514 "Mail Test"
N 2
trantv@localhost.loc Tue Dec 2 15:04 12/433 "Test!!!!"
N 3
root@localhost.local Tue Dec 2 15:52 14/514 "Mail Test"
N 4
root@localhost.local Wed Dec 3 08:44 14/521 "Mail Test"
N 5
root@localhost.local Wed Dec 3 08:45 14/521 "Mail Test"
N 6
root@localhost.local Wed Dec 3 09:52 12/458 "Mail Test!"
& 6
Message 6:
From
root@localhost.localdomain Wed Dec 3 09:52:41 2003
Date: Wed, 3 Dec 2003 09:51:04 -0600
From: root <root@localhost.localdomain>
Subject: Mail Test!
Do not reply, This is a Test!
==============================
My question is when I try to send email externally to say "me@yahoo.com". My mail then stays in the mailq and displays the message below:
[root@timedb mail]# mailq
/var/spool/mqueue (1 requests)
-----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient-----------
hB3F1Pgl026968 15 Wed Dec 3 09:02
root@localhost.localdomain
(Deferred: mx4.mail.yahoo.com.: Network is unreachable)
trantv826@yahoo.com
Total requests: 1
I have no clue as to what to do next......The server does not have a domain name. Do I need one before I can send mail out externally to other mail servers? I am just trying to send anywhere that accepts my mail so I can verify that it is working properly.
I would be very appreciative of any inputs that yall can suggests to me.
Sorry for the long message..tried to make it descriptive.
THANKS!