Xymon Mailing List Archive search

How do I change the "mail from" for email alerts?

list Joe Sloan
Thu, 04 Jun 2009 12:42:53 -0700
Message-Id: <user-821973dae5b7@xymon.invalid>

Harold J. Ballinger wrote:
My mail command does not support the –r option. I cannot see a way to
force the from address, so I guess it is running it as the hobbit
user. I have configured the hobbit user in /etc/email-addresses as
“hobbit: user-89c6ab9913ee@xymon.invalid <mailto:user-89c6ab9913ee@xymon.invalid>” but Exim4
doesn’t seem to be using this. It definitely looks like it is
something I will have to take up with the Exim4 group since now I can
see the command that hobbit is using and that it isn’t the one forcing
“hobbit@” as the wrong address.
This should be simple to fix - perhaps on your system the proper command
is called "mailx" instead of "mail" - I gather it's some sort of unix OS
but exactly what flavor and version are you running there?

Joe