Ask the Community
Groups
No Email After CentOS Migration - Connect IT Community | Kaseya
<main> <article class="userContent"> <h2 data-id="summary"><strong>SUMMARY</strong></h2> <p>Email is no longer be received or sent after migrating from CentOS 5 to CentOS 6</p> <h2 data-id="issue"><strong>ISSUE</strong></h2> <p>After migrating from CentOS 5 to CentOS 6, email reports are no longer being sent.<br> </p> <h2 data-id="resolution"><strong>RESOLUTION</strong></h2> <p></p> <ol><li>Start the sendmail service to support the sending of email reports.</li></ol><pre class="code codeBlock" spellcheck="false" tabindex="0"> # service sendmail restart</pre> <div>You should see results stating the sendmail started successfully.</div> <pre class="code codeBlock" spellcheck="false" tabindex="0"> Shutting down sendmail: [FAILED] Starting sendmail: [ OK ] Starting sm-client: [ OK ]</pre> <ol start="2"><li>Verify that sendmail is being started on an initial boot or after a reboot.</li></ol><pre class="code codeBlock" spellcheck="false" tabindex="0"> # chkconfig --list |grep sendmail</pre> <ol start="1"><li>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.</li></ol><div>Example of bad results:</div> <pre class="code codeBlock" spellcheck="false" tabindex="0"> # chkconfig --list |grep sendmail sendmail 0:off 1:off 2:off 3:off 4:off 5:off 6:off</pre> <ol start="2"><li>Configure sendmail to start at boot time.</li></ol><pre class="code codeBlock" spellcheck="false" tabindex="0"> # chkconfig sendmail on</pre> <ol start="3"><li>Verify that sendmail is started at boot time.</li></ol><div>Example of good results:</div> <pre class="code codeBlock" spellcheck="false" tabindex="0"> # chkconfig --list |grep sendmail sendmail 0:off 1:off 2:on 3:on 4:on 5:on 6:off</pre> <br><br><br> <ol start="2"></ol><h2 data-id="cause"><strong>CAUSE</strong></h2> <p>The sendmail service is upgraded during the CentOS migration and it some situations is not set to start properly at boot time.</p> </article> </main>