How do I change the 'from' address and domain for email reports

SUMMARY

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.

This article will summarize how to change the domain, as well as, how to change the 'from' sender address in the Unitrends sendmail configuration.
 

RESOLUTION

  1. Use an SSH client such as  PuTTY to access the Unitrends system at the command line level.  Note:  Ensure you have the OS password to access the Unitrends system’s command line.  The OS  password may differ from the password used to access the User Interface.
  2. Simply edit the master.ini file on the Unitrends appliance located at /usr/bp/bpinit/

    vi /usr/bp/bpinit/master.ini
    
    [Reports]
      PageWidth=80
      PageLength=60
      WeeklySummaryName=weekly.rpt
      FailureReportName=failure.rpt
      TapeContentName=tape.rpt
      ;ReportFrom=root@localhost.localdomain  ; Specify user to send reports as
    Remove the comment symbol (the ';' semicolon) from in front of the line that begins with ReportFrom=  and change the email address to the one you want listed as the sender.
    ReportFrom=reportuser@unitrends.com
    Save this file, then restart the sendmail services:  service sendmail restart

    --This ONLY works for reports, not tests/sendmail directly --

    To test report function after above change run the following
    php /usr/bp/bin/genreports.php

How to change the Email from address from with UI.

(These steps require that the "ReportFrom" field has been added above or already exist).

  1. Navigate in the UI to Configure> <Select your Unitrends appliance> Edit Appliance> Advanced> General Configuration.
  2. Use the Section and Name filters to filter down to the 'Reports' section and the ReportFrom 'Name'.
    mceclip0.png
  3. 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.
    mceclip1.png
  4. Save your email from settings, then close out of the General Configuration menu.
  5. --This ONLY works for reports, not tests/sendmail directly --

    To test report function after above change run the following from the appliance's CLI. 
    php /usr/bp/bin/genreports.php
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Contact us