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
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?

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
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!


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 39

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Global Address book 5 60
OCT or Config.xml 2 31
copy the content of word to outlook 3 46
Compile Error 7 37
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
This video shows where to find templates, what they are used for, and how to create and save a custom template using Microsoft Word.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

948 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now