Mail troubleshooting

  • Try send out a testing email from cmd line under STOR2RRD user
    When you use "export SMTPHOST=relay.company.com" in etc/.magic then load it before
    # su - stor2rrd
    cd /home/lpar2rrd/lpar2rrd
    . etc/.magic
    echo "test message"| mailx -s test your_email@company.com
    
  • Check mail log if email has been sent out
    Note the log file might be different on your system, depends on your OS setup.
    # vi /var/log/maillog
    
  • Check mailq
    # mailq
      Mail queue is empty
    
  • Check undelivered emails
    # ls -l /var/spool/mail/<user>
    
  • Appliance email setup