here's some of the contents of /var/log/mail/errors:
Jun 5 09:53:01 localhost sendmail[2175]: My unqualified host name (localhost) unknown; sleeping for retry
Jun 5 09:54:01 localhost sendmail[2175]: unable to qualify my own domain name (localhost) -- using short name
Jun 5 09:54:02 localhost sm-msp-queue[2296]: My unqualified host name (localhost) unknown; sleeping for retry
Jun 5 09:55:02 localhost sm-msp-queue[2296]: unable to qualify my own domain name (localhost) -- using short name
Jun 5 09:55:45 localhost sendmail[2607]: My unqualified host name (localhost) unknown; sleeping for retry
Jun 5 09:56:45 localhost sendmail[2607]: unable to qualify my own domain name (localhost) -- using short name
Jun 5 10:01:13 localhost sendmail[2784]: My unqualified host name (localhost) unknown; sleeping for retry
My emails should not be limited locally. It should be able to send to, for instance, yahoo or hotmail, etc. The "from" of my messages are set to paulr1984@localhost since paulr1984 is my username in my pc. Should I use my IP Address instead?
How do I setup a relay host or allow relay to outside networks? I'm very new to sendmail.
by the way, I tried 'mailq'. It didn't display anything. It didn't even return me to the command prompt. So I terminated it after a couple of minutes.
Here's part of my /var/spool/mail/paulr1984 file:
From
MAILER-DAEMON@localhost.localdomain Thu Jun 3 22:12:11 2004
Return-Path: <MAILER-DAEMON@localhost.localdomain>
Received: from localhost (localhost [127.0.0.1])
by localhost (8.12.11/8.12.11) with ESMTP id i542CA7n002239
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
for <paulr1984@localhost>; Thu, 3 Jun 2004 22:12:10 -0400
Received: from localhost (localhost)
by localhost (8.12.11/8.12.11/Submit) id i542CAko002188;
Thu, 3 Jun 2004 22:12:10 -0400
Date: Thu, 3 Jun 2004 22:12:10 -0400
From: Mail Delivery Subsystem <MAILER-DAEMON@localhost>
Message-Id: <200406040212.i542CAko002188@localhost>
To: paulr1984@localhost
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="i542CAko002188.1086315130/localhost"
Subject: Returned mail: see transcript for details
Auto-Submitted: auto-generated (failure)
This is a MIME-encapsulated message
--i542CAko002188.1086315130/localhost
The original message was received at Sun, 23 May 2004 02:01:57 -0400
from paulr1984@localhost
----- The following addresses had permanent fatal errors -----
paul_mrivera@yahoo.com
(expanded from:
paul_mrivera@yahoo.com)
----- Transcript of session follows -----
451 yahoo.com: Name server timeout
Message could not be delivered for 5 days
Message will be deleted from queue
--i542CAko002188.1086315130/localhost
Content-Type: message/delivery-status
Reporting-MTA: dns; localhost
Arrival-Date: Sun, 23 May 2004 02:01:57 -0400
Final-Recipient: RFC822;
paul_mrivera@yahoo.com
Action: failed
Status: 4.4.7
Last-Attempt-Date: Thu, 3 Jun 2004 22:12:10 -0400
--i542CAko002188.1086315130/localhost
Content-Type: message/rfc822
Return-Path: <paulr1984>
Received: (from paulr1984@localhost)
by localhost (8.12.11/8.12.11/Submit) id i4N61vS2002913
for
paul_mrivera@yahoo.com; Sun, 23 May 2004 02:01:57 -0400
Date: Sun, 23 May 2004 02:01:57 -0400
From: Paul Rivera <paulr1984>
Message-Id: <200405230601.i4N61vS2002913@localhost>
To:
paul_mrivera@yahoo.com
Subject: Hi! from linux
As you can see, I got a "451 yahoo.com: Name server timeout". How do I fix this? Thanks for replying!