Generated this distinctly non-Solaris function in SMTP-UUCP.conf.
 
mailconf () {
        orgdomain=$(/bin/hostname --domain)
        hostname=$(/bin/hostname --fqdn)
        # This is what it will say on out mail
        read mydomain </etc/mailname
}
:(
John
groenvel@cse.psu.edu