Changed host domain name but email still shows old domain na


I changed the host domain name that nagios is installed on and any email notifications still come from the old domain name. Where
would I changed this in Nagios or is this a sendmail config change. If I type hostname I get the new name of the host including the new
domain name.




Yeah, it’s a sendmail reconfig. Edit file and, depending on how it was set up in the first place, look at changing things like LOCAL_DOMAIN and maybe MASQUERADE_AS… Then run the make command and restart sendmail. That should do it.