Name Service Error Postfix
Contents |
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss host or domain name not found name service error for name type mx host not found try again the workings and policies of this site About Us Learn more about
Name Service Error For Name= Type=a Host Not Found
Stack Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault Questions
Status=bounced (host Or Domain Name Not Found. Name Service Error For Name=
Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up
Delivery Temporarily Suspended: Host Or Domain Name Not Found. Name Service Error For Name
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 - Host or domain not found up vote 11 down vote favorite 6 I just installed Postfix on my ubuntu, on a local network. On this network, I have an Exchange Server (using domain mail.example.com). I type=a: host found but no data record of requested type had a problem sending an email to a local address : adress@example.com : relay=none, delay=0.01, delays=0.01/0/0/0, dsn=4.3.5, status=deferred (Host or domain name not found. Name service error for name=example.com type=AAAA: Host found but no data record of requested type) I solved this problem using relay_domain in my postfix main.cf : relay_domains = example.com transport_maps = hash:/etc/postfix/transport And in my /etc/postfix/transport : example.com smtp:[mail.example.com] Now I can send mails on @example.com, and I have tested some majors webmails (Gmail, Yahoo, Hotmail...). It works. But why I got this error on my adresses "@example.com" ? How can I be sure I never find this error on another domain ? My postconf -n give : alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no config_directory = /etc/postfix inet_interfaces = all mailbox_command = procmail -a "$EXTENSION" mailbox_size_limit = 0 mydestination = SRVWEB, localhost.localdomain, localhost myhostname = SRVWEB mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 myorigin = /etc/mailname readme_directory = no recipient_delimiter = + relay_domains = mutuelle-var.fr relayhost = smtp_generic_maps = hash:/etc/postfix/generic smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache smtpd_banner = $myhostname ESMTP $mail_na
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 postfix type=a: host not found company Business Learn more about hiring developers or posting ads with us Super User Questions status=bounced (host or domain name not found. name service error for name= type=a host not found) Tags Users Badges Unanswered Ask Question _ Super User is a question and answer site for computer enthusiasts and power users. Join host or domain name not found type=a: host not found them; it 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 http://serverfault.com/questions/577134/postfix-host-or-domain-not-found not found up 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 http://superuser.com/questions/975337/postfix-error-host-or-domain-name-not-found postfix restart) then emails 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 20.9k55978 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 myster
26, https://www.howtoforge.com/community/threads/name-service-error-for-name-localhost-localdomain-type-a-host-not-found.27151/ 2008. savago Member cd /var/log tail -f http://unix.stackexchange.com/questions/21407/postfix-doesnt-send-mail-complaining-about-host-or-domain-name-not-found maillog Sep 26 09:50:32 server1 sendmail[4481]: m8Q6oVXu004481: [emailprotected], ctladdr=web15_user (10020/10015), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30123, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 0C42728680D8) Sep 26 09:50:32 server1 postfix/smtp[2842]: 0C42728680D8: to=<[emailprotected]>, not found relay=none, delay=0.13, delays=0.13/0/0/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=localhost.localdomain type=A: Host not found) cd /etc cat hosts # Do not remove the following line, or various programs # that require name service error network functionality will fail. 127.0.0.1 localhost.localdomain localhost www domain.com server1.domain.com server1 ::1 localhost6.localdomain6 localhost6 cd /etc/postfix cat local-host-names localhost server1.domain.com localhost.server1.domain.com localhost.domain.com localhost.localdomain www.domain.com cat main.cf ...smtpd_sasl_local_domain = smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous broken_sasl_auth_clients = yes smtpd_sasl_authenticated_header = yes smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_unlisted_recipient, reject_unknown_recipient_domain, reject_unverified_recipient, reject_rbl_client dsn.rfc-ignorant.org, reject_rbl_client zen.spamhaus.org, reject_rbl_client bl.spamcop.net, reject_rbl_client dnsbl.sorbs.net, reject_rbl_client cbl.abuseat.org, permit mynetworks = 127.0.0.0/8 smtpd_tls_auth_only = no smtp_use_tls = yes smtpd_use_tls = yes smtp_tls_note_starttls_offer = yes smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem smtpd_tls_loglevel = 1 smtpd_tls_received_header = yes smtpd_tls_session_cache_timeout = 3600s tls_random_source = dev:/dev/urandom home_mailbox = Maildir/ mailbox_command = smtpd_etrn_restrictions = reject smtpd_reject_unlisted_sender = yes disable_vrfy_command = ye
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 Business Learn more about hiring developers or posting ads with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it 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 doesn't send mail, complaining about “Host or domain name not found” up vote 8 down vote favorite 2 I followed these instructions in order to send mail and here's the Postfix log: Sep 26 00:46:24 tshepang postfix/smtpd[5728]: 8EE2464931: client=localhost[127.0.0.1] Sep 26 00:47:44 tshepang postfix/cleanup[5810]: 8EE2464931: message-id=<20110925224624.8EE2464931@tshepang> Sep 26 00:47:44 tshepang postfix/qmgr[5772]: 8EE2464931: from=