No Email After CentOS Migration

SUMMARY

Email is no longer be received or sent after migrating from CentOS 5 to CentOS 6

ISSUE

After migrating from CentOS 5 to CentOS 6, email reports are no longer being sent.
 

RESOLUTION

  1. Start the sendmail service to support the sending of email reports.
# service sendmail restart
You should see results stating the sendmail started successfully.
Shutting down sendmail: [FAILED]
Starting sendmail: [ OK ]
Starting sm-client: [ OK ]
  1. Verify that sendmail is being started on an initial boot or after a reboot.
# chkconfig --list |grep sendmail
  1. If sendmail is set to off at all init level (boot levels run in numbered sequence), sendmail still needs to be configured to start at boot time.
Example of bad results:
# chkconfig --list |grep sendmail
sendmail 0:off 1:off 2:off 3:off 4:off 5:off 6:off
  1. Configure sendmail to start at boot time.
# chkconfig sendmail on
  1. Verify that sendmail is started at boot time.
Example of good results:
 
# chkconfig --list |grep sendmail
sendmail 0:off 1:off 2:on 3:on 4:on 5:on 6:off



 

    CAUSE

    The sendmail service is upgraded during the CentOS migration and it some situations is not set to start properly at boot time.

    Have more questions?

    Contact us

    Was this article helpful?
    0 out of 0 found this helpful

    Provide feedback for the Documentation team!

    Browse this section