I recently changed the host name of our Nagios server however all email notifications still reflect the original hostname (email@example.com). Is there somewhere within a Nagios configuration file that I can change the from email address for all email notifications? I’m using NullMailer as my SMTP relay agent and I’ve modified the adminaddr to reflect the from address that I’d like to use. Also, sometimes the alias part of the email address is root and other times it’s nagios. Why is it different sometimes?
Thanks in advance!