[opensuse] Re: postfix: Name service error
![](https://seccdn.libravatar.org/avatar/9b3c3a790b500cdb2bbfe34f8db0e867.jpg?s=120&d=mm&r=g)
Otto Rodusek wrote:
I've recently set up a new OpenSuse11.1 server. I need a simple smtp request - mail out system errors to the sysadmin as/when necessary. I've configured postfix but no matter what I try I keep getting the following errors: (I've tried other email address - not just hotmail.com - with the same error result!!)
Nov 26 15:49:42 bunyip postfix/error[2285]: 059CBC658B: to=
, relay=none, delay=71849, delays=71820/28/0/0.1, dsn=4.4.3, status=deferred (delivery temporarily suspended: Host or domain name not found. Name service error for name=hotmail.com type=MX: Host not found, try again) My resolv.conf is:
search local.com nameserver 202.156.1.58 nameserver 218.186.1.38 nameserver 202.156.1.38
What is the output of "host -t mx hotmail.com"? In nsswitch.conf, is "dns" listed on the hosts line? Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod Email: jschrod@acm.org Roedermark, Germany -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/e01b8e9d7672014c0a2b6cf5b65a67e6.jpg?s=120&d=mm&r=g)
On Thu, Nov 26, 2009 at 10:38:41AM +0100, Joachim Schrod wrote:
Otto Rodusek wrote:
I've recently set up a new OpenSuse11.1 server. I need a simple smtp request - mail out system errors to the sysadmin as/when necessary. I've configured postfix but no matter what I try I keep getting the following errors: (I've tried other email address - not just hotmail.com - with the same error result!!)
Nov 26 15:49:42 bunyip postfix/error[2285]: 059CBC658B: to=
, relay=none, delay=71849, delays=71820/28/0/0.1, dsn=4.4.3, status=deferred (delivery temporarily suspended: Host or domain name not found. Name service error for name=hotmail.com type=MX: Host not found, try again) My resolv.conf is:
search local.com nameserver 202.156.1.58 nameserver 218.186.1.38 nameserver 202.156.1.38
What is the output of "host -t mx hotmail.com"? In nsswitch.conf, is "dns" listed on the hosts line?
And are you sure that you're allowed to use these name servers? Please try dig @202.156.1.58 lists.opensuse.org If you only get output lines starting with ";" signs these name servers are not allowing access from your ISP. Try to use the nameservers used by your router or gateway or ask your ISP. My ISP sent me a letter including the credentials and all the settings including the name servers to use. Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany
![](https://seccdn.libravatar.org/avatar/dcda56542489d32c6bbef20e13281086.jpg?s=120&d=mm&r=g)
Lars Müller wrote:
On Thu, Nov 26, 2009 at 10:38:41AM +0100, Joachim Schrod wrote:
Otto Rodusek wrote:
I've recently set up a new OpenSuse11.1 server. I need a simple smtp request - mail out system errors to the sysadmin as/when necessary. I've configured postfix but no matter what I try I keep getting the following errors: (I've tried other email address - not just hotmail.com - with the same error result!!)
Nov 26 15:49:42 bunyip postfix/error[2285]: 059CBC658B: to=
, relay=none, delay=71849, delays=71820/28/0/0.1, dsn=4.4.3, status=deferred (delivery temporarily suspended: Host or domain name not found. Name service error for name=hotmail.com type=MX: Host not found, try again) My resolv.conf is:
search local.com nameserver 202.156.1.58 nameserver 218.186.1.38 nameserver 202.156.1.38
What is the output of "host -t mx hotmail.com"? In nsswitch.conf, is "dns" listed on the hosts line?
And are you sure that you're allowed to use these name servers?
Please try
dig @202.156.1.58 lists.opensuse.org
If you only get output lines starting with ";" signs these name servers are not allowing access from your ISP.
Try to use the nameservers used by your router or gateway or ask your ISP. My ISP sent me a letter including the credentials and all the settings including the name servers to use.
Lars
Hi Lars, Thanks for the feedback. I tried the dig command and indeed it worked fine!! See below: bunyip:/etc # dig @202.156.1.58 lists.opensuse.org ; <<>> DiG 9.5.0-P2 <<>> @202.156.1.58 lists.opensuse.org ; (1 server found) ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16210 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;lists.opensuse.org. IN A ;; ANSWER SECTION: lists.opensuse.org. 600 IN A 195.135.221.135 ;; Query time: 220 msec ;; SERVER: 202.156.1.58#53(202.156.1.58) ;; WHEN: Thu Nov 26 19:36:00 2009 ;; MSG SIZE rcvd: 52 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/dcda56542489d32c6bbef20e13281086.jpg?s=120&d=mm&r=g)
Joachim Schrod wrote:
Otto Rodusek wrote:
I've recently set up a new OpenSuse11.1 server. I need a simple smtp request - mail out system errors to the sysadmin as/when necessary. I've configured postfix but no matter what I try I keep getting the following errors: (I've tried other email address - not just hotmail.com - with the same error result!!)
Nov 26 15:49:42 bunyip postfix/error[2285]: 059CBC658B: to=
, relay=none, delay=71849, delays=71820/28/0/0.1, dsn=4.4.3, status=deferred (delivery temporarily suspended: Host or domain name not found. Name service error for name=hotmail.com type=MX: Host not found, try again) My resolv.conf is:
search local.com nameserver 202.156.1.58 nameserver 218.186.1.38 nameserver 202.156.1.38
What is the output of "host -t mx hotmail.com"? In nsswitch.conf, is "dns" listed on the hosts line?
Joachim
Hi Joachim, I think you've hit on something!! Below are the results from the server that is not able to smtp out: So any idea what the problem could be?? Much thanks for your help! bunyip:/etc # host -t mx hotmail.com ;; connection timed out; no servers could be reached bunyip:/etc # cat nsswitch.conf # # /etc/nsswitch.conf # # An example Name Service Switch config file. This file should be # sorted with the most-used services at the beginning. # # The entry '[NOTFOUND=return]' means that the search for an # entry should stop if the search in the previous entry turned # up nothing. Note that if the search failed due to some other reason # (like no NIS server responding) then the search continues with the # next entry. # # Legal entries are: # # compat Use compatibility setup # nisplus Use NIS+ (NIS version 3) # nis Use NIS (NIS version 2), also called YP # dns Use DNS (Domain Name Service) # files Use the local files # [NOTFOUND=return] Stop searching if not found so far # # For more information, please read the nsswitch.conf.5 manual page. # # passwd: files nis # shadow: files nis # group: files nis passwd: compat group: compat hosts: files mdns4_minimal [NOTFOUND=return] dns networks: files dns services: files protocols: files rpc: files ethers: files netmasks: files netgroup: files nis publickey: files bootparams: files automount: files nis aliases: files bunyip:/etc # I tried the same on another machine (also with 11.1) at another installation and got: aplcom:~ # host -t mx hotmail.com hotmail.com mail is handled by 5 mx1.hotmail.com. hotmail.com mail is handled by 5 mx2.hotmail.com. hotmail.com mail is handled by 5 mx3.hotmail.com. hotmail.com mail is handled by 5 mx4.hotmail.com. aplcom:~ # cat /etc/nsswitch.conf # # /etc/nsswitch.conf # # An example Name Service Switch config file. This file should be # sorted with the most-used services at the beginning. # # The entry '[NOTFOUND=return]' means that the search for an # entry should stop if the search in the previous entry turned # up nothing. Note that if the search failed due to some other reason # (like no NIS server responding) then the search continues with the # next entry. # # Legal entries are: # # compat Use compatibility setup # nisplus Use NIS+ (NIS version 3) # nis Use NIS (NIS version 2), also called YP # dns Use DNS (Domain Name Service) # files Use the local files # [NOTFOUND=return] Stop searching if not found so far # # For more information, please read the nsswitch.conf.5 manual page. # # passwd: files nis # shadow: files nis # group: files nis passwd: compat group: compat hosts: files mdns4_minimal [NOTFOUND=return] dns networks: files dns services: files protocols: files rpc: files ethers: files netmasks: files netgroup: files nis publickey: files bootparams: files automount: files nis aliases: files aplcom:~ # -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/dcda56542489d32c6bbef20e13281086.jpg?s=120&d=mm&r=g)
Joachim Schrod wrote:
Otto Rodusek wrote:
I've recently set up a new OpenSuse11.1 server. I need a simple smtp request - mail out system errors to the sysadmin as/when necessary. I've configured postfix but no matter what I try I keep getting the following errors: (I've tried other email address - not just hotmail.com - with the same error result!!)
Nov 26 15:49:42 bunyip postfix/error[2285]: 059CBC658B: to=
, relay=none, delay=71849, delays=71820/28/0/0.1, dsn=4.4.3, status=deferred (delivery temporarily suspended: Host or domain name not found. Name service error for name=hotmail.com type=MX: Host not found, try again) My resolv.conf is:
search local.com nameserver 202.156.1.58 nameserver 218.186.1.38 nameserver 202.156.1.38
What is the output of "host -t mx hotmail.com"? In nsswitch.conf, is "dns" listed on the hosts line?
Joachim
Hi Joachim, I think you've hit on something!! Below are the results from the server that is not able to smtp out: So any idea what the problem could be?? Much thanks for your help! bunyip:/etc # host -t mx hotmail.com ;; connection timed out; no servers could be reached bunyip:/etc # cat nsswitch.conf # # /etc/nsswitch.conf # # An example Name Service Switch config file. This file should be # sorted with the most-used services at the beginning. # # The entry '[NOTFOUND=return]' means that the search for an # entry should stop if the search in the previous entry turned # up nothing. Note that if the search failed due to some other reason # (like no NIS server responding) then the search continues with the # next entry. # # Legal entries are: # # compat Use compatibility setup # nisplus Use NIS+ (NIS version 3) # nis Use NIS (NIS version 2), also called YP # dns Use DNS (Domain Name Service) # files Use the local files # [NOTFOUND=return] Stop searching if not found so far # # For more information, please read the nsswitch.conf.5 manual page. # # passwd: files nis # shadow: files nis # group: files nis passwd: compat group: compat hosts: files mdns4_minimal [NOTFOUND=return] dns networks: files dns services: files protocols: files rpc: files ethers: files netmasks: files netgroup: files nis publickey: files bootparams: files automount: files nis aliases: files bunyip:/etc # I tried the same on another machine (also with 11.1) at another installation and got: aplcom:~ # host -t mx hotmail.com hotmail.com mail is handled by 5 mx1.hotmail.com. hotmail.com mail is handled by 5 mx2.hotmail.com. hotmail.com mail is handled by 5 mx3.hotmail.com. hotmail.com mail is handled by 5 mx4.hotmail.com. aplcom:~ # cat /etc/nsswitch.conf # # /etc/nsswitch.conf # # An example Name Service Switch config file. This file should be # sorted with the most-used services at the beginning. # # The entry '[NOTFOUND=return]' means that the search for an # entry should stop if the search in the previous entry turned # up nothing. Note that if the search failed due to some other reason # (like no NIS server responding) then the search continues with the # next entry. # # Legal entries are: # # compat Use compatibility setup # nisplus Use NIS+ (NIS version 3) # nis Use NIS (NIS version 2), also called YP # dns Use DNS (Domain Name Service) # files Use the local files # [NOTFOUND=return] Stop searching if not found so far # # For more information, please read the nsswitch.conf.5 manual page. # # passwd: files nis # shadow: files nis # group: files nis passwd: compat group: compat hosts: files mdns4_minimal [NOTFOUND=return] dns networks: files dns services: files protocols: files rpc: files ethers: files netmasks: files netgroup: files nis publickey: files bootparams: files automount: files nis aliases: files aplcom:~ # -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Joachim Schrod
-
Lars Müller
-
Otto Rodusek