SMTP Relaying denied. IP name lookup failed

Posted on 2004-10-05
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. To see why we cannot get email to this domain ( Login on the exchange server, browser at the link above, tested the valid email address sending email to valid email address

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 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
< 250 VJBFW Hello [], pleased to meet you
< 250 2.1.0 <>... Sender ok
> RCPT TO:<>
< 550 5.7.1 <>... 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 200 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 -   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:

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 -- note the capital letters. On some systems, and would be seen as different hosts. The reverse is done as 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? for

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). claims to be host VJBFW.
Thank you for your help.
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

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: 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 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" =

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

Accepted Solution

Sembee earned 300 total points
ID: 12234639
Unless you have a zone for "" 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to:…

690 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