[Xymon] configurable sender email address for alerts?

henrik at hswn.dk henrik at hswn.dk
Fri Jan 17 11:59:21 CET 2014


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.

Regards,
Henrik




More information about the Xymon mailing list