LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 07-17-2006, 05:04 AM   #1
csghosh
LQ Newbie
 
Registered: Jul 2006
Posts: 12

Rep: Reputation: 0
Red face 550 5.7.1 unable to relay for xyz@yahoo.com


Hi,

I am using SENDMAIL 8.13.1-3 RHEL 4.5 which is a client of MS-Exchange Server (Advance Server 2003). Both the system in same domain.
Intranet is working very fine but while trying to mail outside like xyz@yahoo.com, it is showing the subject as error, I have tried with HElO, It is same. I have done authentication, but no improvement. In exchange server it is like "All all computers that successfully authenticate to relay, regardless of the list".

Help me, If any body can.

Thanking you in anticipation
 
Old 07-20-2006, 09:46 PM   #2
csghosh
LQ Newbie
 
Registered: Jul 2006
Posts: 12

Original Poster
Rep: Reputation: 0
Hi,

Its Quite surprising to me that no one can solve my issues.
Pointless to stay here anymore.

Good Bye
 
Old 07-20-2006, 10:44 PM   #3
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,138

Rep: Reputation: 168Reputation: 168
That's a childish attitude. In fact there are quite a few people here who can help, but we have lives of our own and don't spend 24 hours a day here. On top of that, relaying in sendmail is dealt with comprehensively at http://www.sendmail.org/tips/relaying.html.

Please read through the sendmail docs and feel free to ask questions about any problems you have with them. One way of doing this if all of your clients are sending to multiple domains, is to include support for the access db in sendmail.cf (use FEATURE(access_db) in your sendmail.mc file). You'd then add your local networks to /etc/mail/access:
Code:
localhost.localdomain		RELAY
localhost			RELAY
127.0.0.1			RELAY
192.168.1			RELAY
Then generate the db with:
Code:
makemap -v hash /etc/mail/access < /etc/mail/access
 
Old 08-21-2007, 05:49 PM   #4
Dan Suson
LQ Newbie
 
Registered: Aug 2007
Location: Valparaiso, IN
Distribution: Slackware
Posts: 29

Rep: Reputation: 1
Problem sending through MS Exchange server

I ran into a problem at my new job and need help resolving it. I just started a job at a new institution, and the IT department is extremely Window-centric. At my previous job, I had my email set up so that the central server forwarded all my email to my local linux server, and I administered sendmail as needed. Everything worked great there. When I got here, I learned that I could not do that. They use Microsoft Exchange Server (version unknown to me), and it took two weeks simply to get someone to tell me the darn server names for setting up my email under linux (using kmail).

I got this done yesterday, and everything seemed fine as I was able to send and receive mail, or so it seemed. Turned out that I only tried to send mail within the institution, so it went through fine. Today I tried to send mail to an address outside the institution, and I got the following message:

Sending failed:
Message sending failed since the following recipients were rejected by the server:
djsuson@gmail.com (The server responded: "5.7.1 Unable to relay for djsuson@gmail.com")
The message will stay in the 'outbox' folder until you either fix the problem (e.g. a broken address) or remove the message from the 'outbox' folder.
The following transport protocol was used:
Purdue University-Calumet

It appears that the exchange server thinks the name entered in the To: field is who it is trying to relay for. I've sent mail outside the institution using the outlook web client, so I think (and am told) that the email account is okay. I don't have access to the server, so I can't make any changes there. I was told quite emphatically that I couldn't run a mail server, so I don't have sendmail running, nor do I see anything that I recognize as related to the mail system running when I do a ps command. Any suggestions on how I can fix this issue?

Thanks,
Dan Suson
 
Old 08-21-2007, 10:37 PM   #5
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,138

Rep: Reputation: 168Reputation: 168
Quote:
Originally Posted by Dan Suson View Post
Message sending failed since the following recipients were rejected by the server:
djsuson@gmail.com (The server responded: "5.7.1 Unable to relay for djsuson@gmail.com")
The message will stay in the 'outbox' folder until you either fix the problem (e.g. a broken address) or remove the message from the 'outbox' folder.
The following transport protocol was used:
Purdue University-Calumet
Since it says that the recipient was rejected I don't think that it's a problem with the wrong field being used. Have you tried sending to a non-gmail domain? Also, are other users there able to send to the gmail.com domain?
 
Old 08-22-2007, 02:33 PM   #6
Dan Suson
LQ Newbie
 
Registered: Aug 2007
Location: Valparaiso, IN
Distribution: Slackware
Posts: 29

Rep: Reputation: 1
Yes, I've tried to send to a number of off-campus sites, all with no luck. This morning I set kmail to send mail through my gmail account. While this works, it is not a solution to the problem. Any help would be appreciated.
 
Old 08-22-2007, 03:41 PM   #7
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,138

Rep: Reputation: 168Reputation: 168
If you can send direct to gmail but not via the Exchange server, it sounds like the problem is with the Exchange server. Are you required to authenticate to it? Can you try again and use Wireshark (used to be Ethereal) to sniff the packets when you try to send an email? It may give you more info about what is happening.
 
Old 08-15-2012, 06:08 PM   #8
jriden
LQ Newbie
 
Registered: May 2009
Posts: 3

Rep: Reputation: 0
How can I fix "unable to relay" error?

I've recently setup two Redhat Linux identical servers each one has Sendmail installed. Our company has a Microsoft 2000 exchange server. With one of the Linux servers I can send email to users on that exchange server. With the other I cannot and keep getting the following message:

From MAILER-DAEMON@pick.hypertech.com Wed Aug 15 16:55:15 2012
Return-Path: <MAILER-DAEMON@pick.hypertech.com>
Received: from localhost (localhost)
by pick.hypertech.com (8.13.8/8.13.8) id q7FLtFdC008122;
Wed, 15 Aug 2012 16:55:15 -0500
Date: Wed, 15 Aug 2012 16:55:15 -0500
From: Mail Delivery Subsystem <MAILER-DAEMON@pick.hypertech.com>
Message-Id: <201208152155.q7FLtFdC008122@pick.hypertech.com>
To: <root@pick.hypertech.com>
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="q7FLtFdC008122.1345067715/pick.hypertech.com"
Subject: Returned mail: see transcript for details
Auto-Submitted: auto-generated (failure)

This is a MIME-encapsulated message

--q7FLtFdC008122.1345067715/pick.hypertech.com

The original message was received at Wed, 15 Aug 2012 16:55:14 -0500
from pick.hypertech.com [127.0.0.1]

----- The following addresses had permanent fatal errors -----
<jriden@hypertech.com>
(reason: 550 5.7.1 Unable to relay for jriden@hypertech.com)

----- Transcript of session follows -----
... while talking to hypertech.com.:
>>> DATA
<<< 550 5.7.1 Unable to relay for jriden@hypertech.com
550 5.1.1 <jriden@hypertech.com>... User unknown
<<< 554 5.5.2 No valid recipients

--q7FLtFdC008122.1345067715/pick.hypertech.com
Content-Type: message/delivery-status

Reporting-MTA: dns; pick.hypertech.com
Received-From-MTA: DNS; pick.hypertech.com
Arrival-Date: Wed, 15 Aug 2012 16:55:14 -0500

Final-Recipient: RFC822; jriden@hypertech.com
Action: failed
Status: 5.7.1
Remote-MTA: DNS; hypertech.com
Diagnostic-Code: SMTP; 550 5.7.1 Unable to relay for jriden@hypertech.com
Last-Attempt-Date: Wed, 15 Aug 2012 16:55:14 -0500

--q7FLtFdC008122.1345067715/pick.hypertech.com
Content-Type: message/rfc822

Return-Path: <root@pick.hypertech.com>
Received: from pick.hypertech.com (pick.hypertech.com [127.0.0.1])
by pick.hypertech.com (8.13.8/8.13.8) with ESMTP id q7FLtEdC008120
for <jriden@hypertech.com>; Wed, 15 Aug 2012 16:55:14 -0500
Received: (from root@localhost)
by pick.hypertech.com (8.13.8/8.13.8/Submit) id q7FLtE2F008119
for jriden@hypertech.com; Wed, 15 Aug 2012 16:55:14 -0500
Date: Wed, 15 Aug 2012 16:55:14 -0500
From: root <root@pick.hypertech.com>
Message-Id: <201208152155.q7FLtE2F008119@pick.hypertech.com>
To: jriden@hypertech.com
Subject: Test Email

This is a test.

--q7FLtFdC008122.1345067715/pick.hypertech.com--



I've seached through files such as /etc/hosts/ and /etc/mail/whatever and they all seem to be the same. Any help would certainly be appreciated. Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
qmailrocks help - No mail? 550 relay not permitted error nixinbarrie Linux - Software 1 07-20-2005 02:41 PM
554 <xxxx@yahoo.com>: Relay access denied linuxkid Linux - Networking 1 03-30-2005 02:06 AM
Unable to relay via SMTP Server linux_2008 Linux - Networking 1 12-24-2004 08:00 AM
Unable to resolve relay-test.mail-abuse.org ldare Linux - Networking 2 04-11-2003 05:32 PM
sendmail relay 550 .5.7.1 BIG PROBLEM archangel Linux - Software 0 03-13-2003 04:26 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 06:47 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration