![](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