Use sendmail without mentioning From:

Hi,

Here is my sendmail script.

#!/bin/ksh
{
#        print "From: user1@`hostname`" 
        print "To: me@mycomp.com"
} | /usr/sbin/sendmail -t

I wish to use sendmail without having to specify # print "From: user1@`hostname`" so that it picks or formulates the default value of From: which is in most cases the

Can you help tweak the script to default the From: aspect ?

Operating System: SunOS.

Unlike To: it is not mandatory to specify From: