Xymon Mailing List Archive search

configurable sender email address for alerts?

list John Thurston
Fri, 17 Jan 2014 08:20:06 -0900
Message-Id: <user-981c212ff05d@xymon.invalid>

On 1/16/2014 9:50 AM, John Thurston wrote:
On 1/16/2014 8:56 AM, Mark Felder wrote:
I have a FreeBSD bug report open from a user who claims that if they run
"sudo service xymon-server start" it starts xymon correctly but the
alert emails come from the wrong email address. Where is Xymon getting
the username from to use when sending emails? Is it configurable in
xymonserver.cfg? Could it be made configurable? The patch the user
suggested to the freebsd rc script seems unnecessary.
I tried setting the value of MAILC in xymonserver.cfg:
  MAILC="mailx -r user-72e0e34f549e@xymon.invalid "

My test with  xymond_alert  report that the -r parameter will be used
with mailx, but when Xymon actually sends the messages it is not.
Duh. It works perfectly after I restart Xymon.
{sorry for the interruption}
-- 
    Do things because you should, not just because you can.

John Thurston    XXX-XXX-XXXX
user-ce4d79d99bab@xymon.invalid
Enterprise Technology Services
Department of Administration
State of Alaska