Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Postfix : Host Not found

Posted on 2012-04-07
Medium Priority
Last Modified: 2012-04-08
Action: failed
Status: 5.4.4
Diagnostic-Code: X-Postfix; Host or domain name not found. Name service error
    for type=A: Host not found

Above is what I get when I send email to New Postfix Server.

(Host Name and Domain Name is correctly set +mxtoolbox complains for reverse DNS ).

I need to fix it ASAP. Please help.
Question by:amit_panjwani
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
  • 3
  • 2
LVL 79

Assisted Solution

arnold earned 1000 total points
ID: 37821198
Look whether locally that name resolves as well.
The problem s that the entry does not seem as coming from postfix.

Do you have local dns for while it is also dns served externally?
LVL 21

Accepted Solution

Papertrip earned 1000 total points
ID: 37821232
Also contact your ISP and have them create a PTR record for your sending IP which matches the A record.

Author Comment

ID: 37821492
@arnold - when I do nslookup - I get a list of name servers for this mail server. That should be ok.

@ papertrip - I believe thats some thing already done - anything diagnostics that can verify that
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

LVL 79

Expert Comment

ID: 37821590
No, that is the problem. The local dns server must resolve the ip rather than refer the application to another source of information.
You can configure your local name server to resolve for local subnets.
Once you correct this, you should not have this issue.
LVL 21

Expert Comment

ID: 37821681
You said initially that mxtoolbox said reverse did not match.  If you want to check from another external source then just put your sending IP into and make sure it resolves to whatever the A record is for your sending server.

Author Comment

ID: 37821702
Allow me to compound this problem :(

I was running sendmail earlier on same server - (Same DNS settings). I was able to receive emails from Gmail and yahoo - No issues.

I was able to send emails (External mail relay)

AFTER - Switching to Postfix :

Now - I can send mails (External relay server). But I cannot receive any emails. Thats the point where I get this error : Host not found.

Please help
LVL 79

Expert Comment

ID: 37821728
The error than is not from postfix but from exchange?
You have to be on the system that generates the email and check its configuration.
Try to cobble together information will lead to unrelated suggestion that could make matters worse.  Run lsof -i:25 where postfix is installed an see what is being reported.

Author Comment

ID: 37821750
@arnold I know what you are trying to suggest . I had already uninstalled sendmail - before I pushed for Postfix.

I think I have resolution. It was all ISP issue -  Static IP resolves bit differently.

I have raised ticket and they are going to resolve it in next 6 hours.

Thank you!

Featured Post

Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

Question has a verified solution.

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

This article outlines some of the reasons why an email message gets flagged as spam on a recipient's end.
Want to know how to use Exchange Server Eseutil command? Go through this article as it gives you the know-how.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses

670 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