Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


SMTP Relaying denied. IP name lookup failed

Posted on 2004-10-05
Medium Priority
Last Modified: 2007-12-19
We are currently experiencing delivery problems to several domains. Below is an SMTP Connection test that shows Relaying Denied by this servers (  Test was done on site (From the Exchange server) with this utility.  http://www.zoneedit.com/smtp.html? To see why we cannot get email to this domain (@AOL.com) Login on the exchange server, browser at the link above, tested the valid email address customerservice@vjbooks.com sending email to valid email address vjbooks2@aol.com

I do not know why this server would be involved at all and why the delivery failure?  

Details:  We are sending an email from our Exchange 2000 server SP1 (SBS2000), Verizon DNS servers and We have a Sendmail server as part of the Firewall (VJBFW) that all mail is forwarded to. , Static IP MX pointing to VJBFW.vjbooks.com at

Test results.
SMTP Connection:
OK, connected to
< 220 VJBFW ESMTP Sendmail 8.11.3/8.11.3; Mon, 4 Oct 2004 21:01:47 -0700
> HELO edit.dnsvr.com
< 250 VJBFW Hello [], pleased to meet you
> MAIL FROM:<customerservice@vjbooks.com>
< 250 2.1.0 <customerservice@vjbooks.com>... Sender ok
> RCPT TO:<vjbooks2@aol.com>
< 550 5.7.1 <vjbooks2@aol.com>... Relaying denied. IP name lookup failed []

Whois results for
This utility is provided by ZoneEdit.Com, the industry leader in DNS and domain mangement solutions.
OrgName:    Pegasus Web Technologies
OrgID:      PWT-5
Address:    1719 Route 10E
Address:    Suite 220
City:       Parsippany
StateProv:  NJ
PostalCode: 07054
Country:    US

NetRange: -
NetHandle:  NET-69-72-128-0-1
Parent:     NET-69-0-0-0-0
NetType:    Direct Allocation

Question by:mspencer100
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
  • 3
  • 2
LVL 104

Expert Comment

ID: 12229689
You need to ask the ISP to setup a reverse DNS entry for your IP address. If they tell you that you need to do this, then unless own the IP addresses (which I doubt) then they are wrong.

If you are on a dynamic IP address range - even if it is static - which usually means you are connecting by DSL this may not help and you will end having to use an SMTP connector to send the email via your ISPs SMTP server.


Assisted Solution

susanzeigler earned 800 total points
ID: 12229768
Hmm, well I looked at the testing site and checked my own mail servers. I would have been very annoyed if it would have worked since I have relaying blocked on all my servers. That is the error you are seeing--which is the same as what I got. The IP that you are seeing is the IP of the zoneedit server (where you are doing the test) and your server is rejecting it because it is not an allowed relay server. Any properly configured mail server should result in the same error:)

Now, as to the real issue. AOL has automatic blacklists which include any dynamic address space reported by ISPs to them. I have had this issue before. Check with Genuity--whom your IPs are allocated through and verify that they have not reported your IP block to AOL as being dynamically assigned. The following link has information on AOL failures - http://postmaster.aol.com/selfhelp/index.html   You may also contact AOLs postmaster and ask to be whitelisted, although this is more difficult to get action on :) The link for whitelisting is here: http://postmaster.aol.com/whitelist/index.html

One other thing to note, although your forward and reverse somewhat match for your mail server, I do see one thing that could possibly cause issues. When I do an MX lookup for your server, I get the MX reported as VJBFW.vjbooks.com -- note the capital letters. On some systems, VJBFW.vjbooks.com and vjbfw.vjbooks.com would be seen as different hosts. The reverse is done as vjbfw.vjbooks.com so a machine that is case-sensitive and requireing forward and reverse matching might reject email from your server. Rule of thumb is not to use capital letters in a host name.

Author Comment

ID: 12232089
The other thing I noticed is that I get this error when in do a DNS reports. Is this significant in your eyes?  Do you think it could be what is stopping email from getting to AOL , Earthlink and other domains?  
 http://www.dnsreport.com for vjbooks.com

Mail server host name in greeting
    WARNING: One or more of your mailservers may be claiming to be a host other than what it really is (the SMTP greeting should be a 3-digit code, followed by a space or a dash, then the host name). This probably won't cause any harm, but may be a technical violation of RFC821 4.3 (and RFC2821 4.3.1).

VJBFW.vjbooks.com claims to be host VJBFW.
Thank you for your help.
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

LVL 104

Expert Comment

ID: 12232157
That isn't unusual and is easily fixed.

ESM, Admin Groups, <your admin group>, Servers, <your server>, Protocols, SMTP. Right click on default SMTP virtual server and choose Properties. Click on the last tab "Delivery" and enter advanced. In the box marked FQDN, enter the name that the server is known as on the Internet: mail.domain.com or whatever. This should match the name that you are using for your MX record.


Author Comment

ID: 12232400
Sembee, currently the Delivery/Advanced/FQDN = vjbnt01.vjbooks.local and when I click on Check DNS I get Domain name is valid. If I try to match my MX record with vjbfw.vjbooks.com when I click on Check DNS I get domain name is not valid.  Also I looked at the default connector properties / general tab and the "Forward all mail through this connector to the following smart hosts" = vjbfw.vjbooks.com

   Local bridgeheads: = VJBNT01 Default SMTP Virtual Server.
LVL 104

Accepted Solution

Sembee earned 1200 total points
ID: 12234639
Unless you have a zone for "vjbooks.com" on your internal DNS servers then getting domain name not valid will be expected. A .local name should not be in there otherwise you will get the error message from remote sytems that you have reported.

Furthermore, the SMTP Connector that you ahve created is useless. You are telling it to use itself for email routing. If that is the case you may as well get rid of it. If email is being delivered directly then you don't need a connector. A connector is used for telling Exchange to deliver the email to a different place than the one it can find on its own.
If you are on a Dynamic IP address range then you will need to leave the connector in place and change the SMART HOST to the SMTP server of your ISP.


Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

I don't pretend to be an expert at this, but I have found a few things that are useful. I hope that sharing them here will help others, so they will not have to face some rather hard choices. Since I felt this to be a topic of enough importance and…
With so many activities to perform, Exchange administrators are always busy in organizations. If everything, including Exchange Servers, Outlook clients, and Office 365 accounts work without any issues, they can sit and relax. But unfortunately, it…
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…

604 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