Postfix Name Service Error /etc/hosts
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company name service error for name= type=mx host not found Business Learn more about hiring developers or posting ads with us Super User Questions Tags
Status=bounced (host Or Domain Name Not Found. Name Service Error For Name
Users Badges Unanswered Ask Question _ Super User is a question and answer site for computer enthusiasts and power users. Join them; it name service error for name= type=a host not found only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Postfix error: Host or domain name not found up
Type=a: Host Found But No Data Record Of Requested Type
vote 1 down vote favorite I am using Raspbian and the Postfix (version 2.9.6) service seems to be automatically run when I boot, but if I want to send a mail, the email stays in the queue: $ mailq 26CB72201F 443 Sat Sep 19 19:44:17 user@mail.example.com (Host or domain name not found. Name service error for name=smtp.gmail.com type=A: Host not found, try again) someone@gmail.com If I restart the service (sudo service postfix restart) then emails postfix type=a: host not found work until the next boot. Why? What is the difference? During the Postfix installation I chose the configuration “Internet with smarthost” but then I followed a tutorial for …Internet Site” to finish the configuration so this might be the problem(?) I just want to send emails. UPDATE: The problem might be that that Postfix is run before the Wi-Fi is connected. email services postfix share|improve this question edited Sep 20 '15 at 19:08 JakeGould 21k56079 asked Sep 19 '15 at 17:56 clemtoy 11617 I wonder, is this server name perhaps resolved when the system starts, but your nameserver isn't reachable then? –Thomas Weinbrenner Sep 19 '15 at 18:11 add a comment| 2 Answers 2 active oldest votes up vote 4 down vote Shorter answer. With a “Host not found, try again.” it could mean that your server is having DNS resolution issues, or Postfix itself is having DNS resolution issues. But that is the core of what has to be cleaned up. As for how to clear it up, your question doesn’t provide enough details on your base OS or setup to give a succinct answer. You seem to be running Ubuntu/Debian if you are running sudo service postfix restart, but what other details can you provide? Longer answer. Possibly connected to resolv.conf mysteriously disappearing. Based on the error: Host or domain na
I just followed this tutorial on how to set up postfix. When I try to send a mail to
Host Or Domain Name Not Found Type=a: Host Not Found
the account mentioned in the tutorial ([emailprotected]) I receive a mail in my
Postfix Type=aaaa: Host Not Found
user account (/var/spool/mail/user) with the following: Code: From MAILER-DAEMON Thu Mar 3 13:35:07 2011 Return-Path: <> X-Original-To: [emailprotected] Delivered-To: status=bounced (host or domain name not found. name service error for name= type=a: host not found [emailprotected] Date: Thu, 3 Mar 2011 13:35:07 +0100 (CET) From: [emailprotected] (Mail Delivery System) Subject: Undelivered Mail Returned to Sender To: [emailprotected] Auto-Submitted: auto-replied Content-Type: multipart/report; report-type=delivery-status; boundary="C8AF9A2CF7.1299155707/phunix02.2contact.ltd" Status: RO Part http://superuser.com/questions/975337/postfix-error-host-or-domain-name-not-found 1: Content-Description: Notification Content-Type: text/plain; charset=us-ascii This is the mail system at host phunix02.2contact.ltd. I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below. For further assistance, please send mail to postmaster. If you do so, please include this problem report. You can delete your own text from the attached returned https://www.howtoforge.com/community/threads/postfix-problem.51728/ message. The mail system <[emailprotected]>: Host or domain name not found. Name service error for name=mail.example.com type=AAAA: Host not found Part 2: Content-Description: Delivery report Content-Type: message/delivery-status Part 3: Content-Description: Undelivered Message Content-Type: message/rfc822 From [emailprotected] Thu Mar 3 13:35:07 2011 Return-Path: <[emailprotected]> X-Virus-Scanned: amavisd-new at localhost From: user <[emailprotected]> Date: Thu, 03 Mar 2011 13:34:58 +0100 To: [emailprotected] Subject: JKSJHdjhsd User-Agent: Heirloom mailx 12.5 7/5/10 Content-Type: text/plain; charset=us-ascii sdfsdfsdfjsdfhsdjfhsdfsd fsdf sdf I also installed Squirrelmail, but when I try to log in with the [emailprotected] account I get the following error: Code: ERROR: ERROR: Connection dropped by IMAP server. Does anyone know where I went wrong and how to make it work? Thanks! jagsler, Mar 3, 2011 #1 carlosinfl New Member I don't get the issue you're trying to address. The message you posted looks odd. First DNS doesn't look configured properly on your server. Then you appear to have an IMAP issue as well. Can you clarify a bit more for us? carlosinfl, Mar 4, 2011 #2 jagsler New Member Somewhere in the tutorial it shows how to send a mail to the [emailprotecte
and /etc/resolv.conf differ you should copy /etc/resolv.conf to /var/spool/postfix/etc/ . The error comes because you run postfix as chroot and postfix not found can then only see files in /var/spool/postfix/ . During install postfix takes a copy of /etc/resolv.conf and place it in its own directory. There could be more errors host not found than that. Check /var/log/mail/warnings and /var/log/mail/errors and make sure you have verified all files. In case of more trouble run the command postfix check. You could also get error messages like: postfix/postfix-script: warning: /var/spool/postfix/etc/localtime and /etc/localtime differ postfix/postfix-script: warning: /var/spool/postfix/etc/services and /etc/services differ Which implies that /etc/localtime and /etc/services should be copied. Before doing anything check what the difference of the files is. For more information: http://www.postfix.org/faq.html#numerical_log Postfix logs SMTP clients as IP addresses . by Hans Schou & Ole Tange ISO/IEC 15445:2000
email Issues related to applications and software problems Post Reply Print view Search Advanced search 5 posts • Page 1 of 1 hirobon Posts: 3 Joined: 2013/02/01 03:39:32 Contact: Contact hirobon Website postfix doesn't send email Quote Postby hirobon » 2013/02/01 04:53:13 CentOS 6.3 / Apache 2.2.15 / Postfix 2.9I'm a begginer of CentOS. And I'm not good at English.Postfix doesn't send email. Still we can recieve email with Dovecot.What should i do?The spool of email remains in /var/spool/postfix/The log file says,Feb 1 13:44:19 ashiyanpo postfix/error[12147]: AFF4D3C0B: to=<*****@********.or.jp>, relay=none, delay=11339, delays=11339/0.03/0/0.04, dsn=4.4.3, status=deferred (delivery temporarily suspended: Host or domain name not found. Name service error for name=smtp.vcsnow.ocn.ne.jp type=A: Host not found, try again)/etc/postfix/main.cf# The relayhost parameter specifies the default host to send mail to# when no entry is matched in the optional transport(5) table. When# no relayhost is given, mail is routed directly to the destination.## On an intranet, specify the organizational domain name. If your# internal DNS uses no MX records, specify the name of the intranet# gateway host instead.## In the case of SMTP, specify a domain, host, host:port, [host]:port,# [address] or [address]:port; the form [host] turns off MX lookups.## If you're connected via UUCP, see also the default_transport parameter.##relayhost = $mydomain#relayhost = [gateway.my.domain]#relayhost = [mailserver.isp.tld]#relayhost = uucphost#relayhost = [an.ip.add.ress]relayhost = [smtp.vcsnow.ocn.ne.jp]:587#relayhost = [60.37.51.125]:587#relayhost = [smtp.gmail.com]:587 Top moonpup Posts: 114 Joined: 2008/11/20 20:38:18 postfix doesn't send email Quote Postby moonpup » 2013/02/01 20:11:44 Is your DNS resolution working correctly? The error says...Host or domain name not found. Name service error for name=smtp.vcsnow.ocn.ne.jp type=A: Host not found, try again)If I look it up, I get the below... do you?Non-authoritative answer:Name: smtp.vcsnow.ocn.ne.jpAddress: 60.37.51.125 Top hirobon Posts: 3 Joined: 2013/02/01 03:39:32 Contact: Contact hirobon Website Re: postfix doesn't send email Quote Pos