http://qs1969.pair.com?node_id=288343


in reply to Re: How to tell if a server has Sendmail?
in thread How to tell if a server has Sendmail?

I'd think -x is a better test in this case.

Also note that on Solaris sendmail is /usr/lib/sendmail. (If portability is a question. Other platforms may very well have it in other places.)