Page 1 of 1

Setting common Sender mailid

Posted: Wed Jan 24, 2018 2:11 am
by inas.labib
Hello Support,

We have defined the "General mail settings" to send mails from "[email protected]" and Mail method is sendmail.

Where is individual users are getting alerts from "[email protected]" but when we add mail-DL as contact ,DL users are getting mails from server name. ex: [email protected]

We want sender mail id should be "[email protected]" . Kindly help to resolve it.

Re: Setting common Sender mailid

Posted: Wed Jan 24, 2018 2:24 pm
by dwhitfield
In the command in the CCM, add -r [email protected] to the end of it. Then, apply the configuration.

Re: Setting common Sender mailid

Posted: Sat Jan 27, 2018 3:51 am
by inas.labib
Hello Support,

In CCM Where we need to add "-r [email protected]" .

can you please clarify.

As of now we defined the general mail settings in

Admin -> Manage Email Settings -> Send mail from

Re: Setting common Sender mailid

Posted: Sat Jan 27, 2018 1:51 pm
by dwhitfield
Please take a look at https://assets.nagios.com/downloads/nag ... Mailer.pdf . Those instructions don't go over the -r piece, but they will explain a bit about changing the commands. The default email settings do run through the commands and in a simple setup you do not need to modify the commands, but if the email address you have in the settings is not working, you will need to modify things at the command level.

If you want us to take a deeper dive, can you PM me your Profile? You can download it by going to Admin > System Config > System Profile and click the ***Download Profile*** button towards the top. If for whatever reason you *cannot* download the profile, please put the output of View System Info (5.3.4+, Show Profile if older) in the thread (that will at least get us some info). This will give us access to many of the logs we would otherwise ask for individually. If security is a concern, you can unzip the profile take out what you like, and then zip it up again. We may end up needing something you remove, but we can ask for that specifically.

You can also generate a profile manually using the script at /usr/local/nagiosxi/html/includes/components/profile/getprofile.sh

That should generate a profile in /usr/local/nagiosxi/var/components/ which you can get off the server with an application such as FileZilla.

After you PM the profile, please update this thread. Updating this thread is the only way for it to show back up on our dashboard.

If you get an error that PROFILE BUILD FAILED, please see https://support.nagios.com/kb/article.p ... ategory=44