LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-01-2007, 11:18 PM   #1
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 651

Rep: Reputation: 34
sendmail, mail is not getting delivered, getting an return mail


Hi

sendmail, mail is not getting delivered, getting an return mail

I have a system with Redhat AS 4 with latest update. And SELINUX is in worn mod

I have configured sendmail as (sendmail.cf entries are)


# my official domain name
# ... define this only if sendmail cannot automatically determine your domain
Djntcccbs.nationalphone.net

# host/domain names ending with a token in class P are canonical
CP.

# "Smart" relay host (may be null)
DS221.120.97.150

But every time I send a mail th /var/log/mailllog entries looks like as follows

May 2 09:17:34 ntcdrsrv sendmail[6572]: l423HTSa006572: from=root, size=47, class=0, nrcpts=1, msgid=<200705020317.l423HTSa006572@localhost.localdomain>, relay=root@localhost
May 2 09:17:36 ntcdrsrv sendmail[6573]: l423HYEi006573: from=<root@localhost.localdomain>, size=344, class=0, nrcpts=1, msgid=<200705020317.l423HTSa006572@localhost.localdomain>, proto=ESMTP, daemon=MTA, relay=ntcdrsrv [127.0.0.1]
May 2 09:17:36 ntcdrsrv sendmail[6572]: l423HTSa006572: to=asankacgl@gmail.com, ctladdr=root (0/0), delay=00:00:07, xdelay=00:00:02, mailer=relay, pri=30047, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (l423HYEi006573 Message accepted for delivery)
May 2 09:17:51 ntcdrsrv sendmail[6575]: STARTTLS=client, relay=mail.nationalphone.net., version=TLSv1/SSLv3, verify=FAIL, cipher=AES256-SHA, bits=256/256
May 2 09:17:56 ntcdrsrv sendmail[6575]: l423HYEi006573: to=<asankacgl@gmail.com>, ctladdr=<root@localhost.localdomain> (0/0), delay=00:00:20, xdelay=00:00:20, mailer=relay, pri=120344, relay=mail.nationalphone.net. [66.29.66.238], dsn=5.1.1, stat=User unknown
May 2 09:17:56 ntcdrsrv sendmail[6575]: l423HYEi006573: l423HuEi006575: DSN: User unknown
May 2 09:17:56 ntcdrsrv sendmail[6575]: l423HuEi006575: to=<root@localhost.localdomain>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31589, dsn=2.0.0, stat=Sent


And I get a return mail content as follows


Message 1:
From MAILER-DAEMON@ntcccbs.nationalphone.net Tue May 1 21:30:24 2007
Date: Tue, 1 May 2007 21:30:24 +0600
From: Mail Delivery Subsystem <MAILER-DAEMON@ntcccbs.nationalphone.net>
To: <root@ntcccbs.nationalphone.net>
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="l41FUOnX000746.1178033424/ntcccbs.nationalphone.net"
Subject: Returned mail: see transcript for details
Auto-Submitted: auto-generated (failure)

This is a MIME-encapsulated message

--l41FUOnX000746.1178033424/ntcccbs.nationalphone.net

The original message was received at Tue, 1 May 2007 21:30:23 +0600
from ntcccbs [127.0.0.1]

----- The following addresses had permanent fatal errors -----
<asankacgl@gmail.com>
(reason: 550 Host unknown)

----- Transcript of session follows -----
550 5.1.2 <asankacgl@gmail.com>... Host unknown (Name server: 221.120.97.150: host not found)

--l41FUOnX000746.1178033424/ntcccbs.nationalphone.net
Content-Type: message/delivery-status

Reporting-MTA: dns; ntcccbs.nationalphone.net
Received-From-MTA: DNS; ntcccbs
Arrival-Date: Tue, 1 May 2007 21:30:23 +0600

Final-Recipient: RFC822; asankacgl@gmail.com
Action: failed
Status: 5.1.2
Remote-MTA: DNS; 221.120.97.150
Diagnostic-Code: SMTP; 550 Host unknown
Last-Attempt-Date: Tue, 1 May 2007 21:30:24 +0600

--l41FUOnX000746.1178033424/ntcccbs.nationalphone.net
Content-Type: message/rfc822

Return-Path: <root@ntcccbs.nationalphone.net>
Received: from localhost.localdomain (ntcccbs [127.0.0.1])
by ntcccbs.nationalphone.net (8.13.1/8.13.1) with ESMTP id l41FUMnX000744
for <asankacgl@gmail.com>; Tue, 1 May 2007 21:30:23 +0600
Received: (from root@localhost)
by localhost.localdomain (8.13.1/8.13.1/Submit) id l41FULaR000743
for asankacgl@gmail.com; Tue, 1 May 2007 21:30:21 +0600
Date: Tue, 1 May 2007 21:30:21 +0600
From: root <root@ntcccbs.nationalphone.net>
Message-Id: <200705011530.l41FULaR000743@localhost.localdomain>
To: asankacgl@gmail.com
Subject: test

test for test1

--l41FUOnX000746.1178033424/ntcccbs.nationalphone.net--

Can you tell me what is going on? I have registered 4 systems and all doing the same.
 
Old 05-02-2007, 08:35 PM   #2
fukawi2
Member
 
Registered: Oct 2006
Location: Melbourne, Australia
Distribution: ArchLinux, ArchServer, Fedora, CentOS
Posts: 449

Rep: Reputation: 34
Quote:
Originally Posted by asankacgl
May 2 09:17:51 ntcdrsrv sendmail[6575]: STARTTLS=client, relay=mail.nationalphone.net., version=TLSv1/SSLv3, verify=FAIL, cipher=AES256-SHA, bits=256/256
Looks like your smart-host wants you to authenticate yourself, but you're not acknowledging that...
 
Old 05-22-2007, 11:49 PM   #3
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 651

Original Poster
Rep: Reputation: 34
Hi fukawi2 thank you

Regards

Asanka
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sendmail with mail don't get delivered.. postfix to the rescue? rhoekstra Linux - Networking 2 02-28-2006 01:46 AM
sendmail reports bounces but mail is successfully delivered sohmc Linux - Software 0 07-06-2004 06:40 AM
qmail log says mail delivered, mail nowhere to be found svartrev Linux - Software 0 03-24-2004 05:12 PM
mail is not delivered thru the mail command aadilkhan Linux - General 1 11-18-2003 05:37 PM
Sendmail, Connection time out with... but mail was delivered elnone Linux - Software 0 10-23-2003 04:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration