Disable sendmail with system startup

Source: Internet
Author: User

Disable sendmail with system startup
How To Disable sendmail with system startup

Previously, when deploying the wasnd environment in centos, it took several minutes to start sendmail. However, sendmail was not used at all, so I disabled it with system startup.

  1. Disable sendmail
    Service sendmail stop
  2. Disable sendmail with system startup
    Chkconfig sendmail off
  3. Check if sendmail auto-start is disabled
    Chkconfig -- list sendmail
    If all values are off, the system is disabled.
    Sendmail 0: off 1: off 2: off 3: off 4: off 5: off 6: off
    If there is no off, you can try to close it separately, as shown in figure
    Chkconfig -- level 2 sendmail off-Disable the command 2 separately.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.