Xymon Mailing List Archive search

changing FROM Address of email alerts

2 messages in this thread

list Gab Dito · Mon, 13 Jun 2016 14:08:53 -0400 ·
how do you change the from address for the email alerts?


Gab
list John Thurston · Mon, 13 Jun 2016 10:23:34 -0800 ·
On 6/13/2016 10:08 AM, Dito wrote:
how do you change the from address for the email alerts?
I suggest looking in xymonserver.cfg.

The man file indicates the following options:
*XYMOND_ALERT SETTINGS*
MAIL
    Command used to send alerts via e-mail, including a "Subject:" header in the mail. Default: "mail -s"
MAILC
    Command used to send alerts via e-mail in a form that does not have a "Subject" in the mail. Default: "mail"
In my xymonserver.cfg, I find the following line:
   MAILC="mailx -r user-7b737123d34a@xymon.invalid "

Ok, not _exactly_ that line, but I suspect you can figure out how to 
substitute your own email address there.


-- 
    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