library not resolving

My /usr directory was overwritten with the /usr from another platform. I restored the library from the Solaris CD(2.5.1) and everything is working normally exept sendmail. It dosen't seem to resolv dns successfully. My machine has no problem resolving machines but sendmail dosen't.  I think there something wrong with one of my resolver libraries. I can receive mail fine but can't send anything anywhere. Nothing else was changed on my system, my /etc/resolv.conf and /etc/nsswitch.conf files are setup correctly.
Please help.
Thanks in advance.
qcolesAsked:
Who is Participating?
 
davidmwilliamsCommented:
Try rebuilding sendmail - get the latest from www.sendmail.org
Can you ping to/from your system?
0
 
ahoffmannCommented:
have you had another /usr/lib/sendmail (not the original Solaris one),
before you copied /usr over''?
0
 
nrosierCommented:
what happens when you try to send e-mails? do they bounce back. if they do, check the header. I've encountered a simular problem where I had to enter the server- and domainname in the sendmail.cf because it always resolved the domain to the nisdomainname which caused a lot of mails to bounce.
you could also try to use the mail-commando with the debugging-option so you can see what happens when a mail is sent.

N.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.