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.
Thanks in advance.