Error "relaying denied. ip name lookup failed" when sending email in Outlook 2007

Posted on 2010-08-19
Last Modified: 2012-05-10
I get the following error when I send an email via oitlook 2007:

550 5.7.1 <>... Relaying denied. IP name lookup failed []

I can receive all emails ok, but can't send.  I try sending myself, but same problem.
Question by:rayluvs
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 53

Accepted Solution

Will Szymkowski earned 100 total points
ID: 33476702
This NDR is due to a permissions issue. Make sure that you have permissions to Send from this mailbox. Open the Active Directory account (make sure that advance features is selected) for this user and click on the Security Tab and Add yourself in there. Give youself Full permissions over this mailbox and include rights to all attributes (including Send As).

Author Comment

ID: 33476764
I have Windows 7, where can I locate Active Directory account?

Author Comment

ID: 33477217
Another thing is when I test the connection, its successfull.

where can I locate Active Directory account in my Windows 7?
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!


Author Comment

ID: 33477243
I just notice something else, when I click on send (on the email screen), the Outbox gets empty fast and the configuration is set to every 30 mins.  Yet, I click Send/Receive, and I dont' see anything, just the error message (i sent it to myself).

Assisted Solution

zsaurabh earned 200 total points
ID: 33477654
in Windows 7, there is no Active Directory

Assisted Solution

zsaurabh earned 200 total points
ID: 33477664
AD is created when you have a Domain and AD resides on a Domain Controller not on a User's PC
LVL 40

Assisted Solution

als315 earned 100 total points
ID: 33477810
How you are connected to your mail server? It seems that your recipient's SPAM filter compare IP address in your message with MX record for your domain and they are different. Your had to send messages from your mail server, not from SMTP server of your ISP.
For example:
list of possible IPs of mail addresses. You can check your domain (all after @) and compare this addresses with your NDR message.
LVL 10

Assisted Solution

by:Casey Herman
Casey Herman earned 100 total points
ID: 33477965
In order to help you figure out this issue, we will need to see the account settings that you have in Outlook. If your email address is, you have to be using specific servers and ports to send mail out. The same is true for many ISP's.

Please post the account setup information

Expert Comment

ID: 33480399
Hi there, who is your Internet Service Provider?  They often provide a free SMTP service (ie a service that allows you to send email via their servers).


Author Comment

ID: 33570048
I think I found the cause.  The domain where I was located had a firewall setting; they checked and fixed it and now all is OK

Author Closing Comment

ID: 33570091

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

What does UTC stand for?  “Coordinated Universal Time” – Think of this as the true time on Planet Earth that never changes with the exception of minor leap seconds here and there to account for the changes in the planet's rotation.   What does th…
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question