Email setup

Configure it as per your company's standards for your Operating System
When you are on Xorux Virtual Appliance, then there is Postfix MTA installed and running, configuration is in /etc/postfix
Follow this for email troubleshooting

Set mail relay in LPAR2RRD

Actual version LPAR2RRD 7.30 does not support UI based procedure for specifying a mail relay. Future versions will contain that
However you can use this workaround.
su - lpar2rrd
cd /home/lpar2rrd/lpar2rrd
umask 022
echo " export SMTPHOST=relay.company.com" >> etc/.magic

Setting mail relay in the Operating System (Postfix based)

Using Smart Host

Smart Host is an email relay in your internal site which accepts incoming email traffic.
You need to know its name and port where it is listening (25 usually).
Under root:
  • Stop Postfix
    # systemctl enable postfix.service
    # systemctl stop postfix.service
    
  • Set Smart Host and port
    # vi /etc/postfix/main.cf
    
    relayhost = mail.your_internal_domain.com:25
    
  • Start Postfix
    # systemctl start postfix.service
    
  • In case of "invalid domain" problem set your hostname in FQDN format (include domain)
    # vi /etc/postfix/main.cf
    
    myhostname = appliance_hostname.your_internal_domain.com
    

Using MX DNS records

Postfix finds appropriate email relay server from DNS MX records itself.
Under root:
  • Stop Postfix
    # systemctl enable postfix.service
    # systemctl stop postfix.service
    
  • Set myhostname to actual Appliance hostname in FQDN format (include domain)
    # vi /etc/postfix/main.cf
    
    myhostname = appliance_hostname.your_internal_domain.com
    
  • Start Portfix
    # systemctl start postfix.service
    

More info