[Xymon] configurable sender email address for alerts?
Mark Felder
feld at feld.me
Fri Jan 17 13:40:37 CET 2014
On Fri, Jan 17, 2014, at 4:59, henrik at hswn.dk wrote:
> Den 16.01.2014 18:56, Mark Felder skrev:
> > 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.
>
> Xymon just runs the "mail" or "mailx" commandline tool. How that
> determines what to put as the sender, I don't know.
>
> My guess is that mail uses "From: $USER" as the sender, but it also
> depends on the MTA setup (sendmail, postfix) of the host where you are
> running Xymon - e.g. the MTA typically adds the domainname to the
> sender-address.
>
This is what I suspected but I haven't had free time to experiment. I
honestly haven't been able to recreate the users's bug report either, so
I suspect this is a problem unique to his environment.
More information about the Xymon
mailing list