Sendmail on RHEL - mailing as root; want email@example.com
I've a monitoring process which mails as root from several RH boxes using the default sendmail install.
Currently, these all come through to my mailbox as from 'root' rather than 'root@boxname'; I've tried commenting out the EXPOSED_USER directive in the sendmail.mc and running make to compile, but to no avail. I've also played about a bit with the masquerade directives- I can change other users but not root.
Any ideas? Anything to try would be helpful...