Ask the Community
Groups
How do I change the 'from' address and domain for email reports - Connect IT Community | Kaseya
<main> <article class="userContent"> <h2 data-id="summary"><strong>SUMMARY</strong></h2> <p>Emails may be configured on the Unitrends appliance to come from a non-existent domain. The generic domain setting may cause emails to be rejected or caught in a SPAM filter.</p> <p>This article will summarize how to change the domain, as well as, how to change the 'from' sender address in the Unitrends sendmail configuration.<br> </p> <h2 data-id="resolution"><strong>RESOLUTION</strong></h2> <ol><li>Use an SSH client such as <a href="/home/leaving?allowTrusted=1&target=https%3A%2F%2Fwww.chiark.greenend.org.uk%2F%7Esgtatham%2Fputty%2Flatest.html" rel="noopener nofollow">PuTTY</a> to access the Unitrends system at the command line level. <em>Note: Ensure you have the OS password to access the Unitrends system’s command line. The OS </em><a href="https://kaseya.vanillacommunities.com/kb/articles/aliases/unitrends/hc/en-us/articles/360013244978" rel="noopener nofollow">password</a> <em>may differ from the password used to access the User Interface.</em> </li> <li>Determine if the from email address is already configured by running the bputil -g command as follows. <div> <pre class="code codeBlock" spellcheck="false" tabindex="0"># bputil -g Reports ReportFrom -1 master.ini<br><strong>-1</strong></pre> </div> <ol></ol><ul><li>If "-1" is returned by this command, the email from address has not been configured.</li> <li>However, if you do receive a from email address as seen in step 4, skip to the next section on how to change the email from address within the UI.</li> </ul></li> </ol> Next, use the bputil command to add the email address which you would like to have emails sent from. In this example, we are setting the from email address to 'sender@domain.com'. You will enter your desired from email address here. No output is expected. <div> <pre class="code codeBlock" spellcheck="false" tabindex="0"># bputil -p Reports ReportFrom sender@domain.com /usr/bp/bpinit/master.ini</pre> </div> Confirm that your setting was saved. This command should return the desired from email address. <div> <pre class="code codeBlock" spellcheck="false" tabindex="0"># bputil -g Reports ReportFrom -1 /usr/bp/bpinit/master.ini<br><strong>sender@domain.com</strong></pre> </div> <h2 data-id="how-to-change-the-email-from-address-from-with-ui">How to change the Email from address from with UI.</h2> <p>(<em>These steps require that the "ReportFrom" field has been added above or already exist</em>).</p> <ol><li>Navigate in the UI to Configure> <Select your Unitrends appliance> Edit Appliance> Advanced> General Configuration.</li> <li>Use the Section and Name filters to filter down to the 'Reports' section and the ReportFrom 'Name'. <div><img src="https://us.v-cdn.net/6032361/uploads/migrated/R99PD35V0DPH/mceclip0.png" alt="mceclip0.png" class="embedImage-img importedEmbed-img"></img></div> </li> <li>Select the entry by clicking on the Value shown. This will bring forth the Edit Settings menu in which you can configure you preferred from email address. <div><img src="https://us.v-cdn.net/6032361/uploads/migrated/HZ4PASOB3XDB/mceclip1.png" alt="mceclip1.png" class="embedImage-img importedEmbed-img"></img></div> </li> <li>Save your email from settings, then close out of the General Configuration menu.</li> <li>Now, select the Email tab and Send a Test Email. If you do not receive the test email you can also have the appliance generate its daily reports again with the command /usr/bp/bin/genreports.php this will send reports only to those configured with the APPLIANCE report checked in the view below: <p><img src="https://us.v-cdn.net/6032361/uploads/migrated/A6JCY6X4NMB1/mceclip2.png" alt="mceclip2.png" class="embedImage-img importedEmbed-img"></img></p> </li> </ol> </article> </main>