The generic-solaris2.cf file which comes with the sendmail 8.9.3 distribution (you don't even have to m4 it!) is fine. Here is the binary, for solaris 2.7. It is incompatible with Sun's sendmail.cf files.