Disable the Sendmail service using specific commands

Source: Internet
Author: User

Sendmail is the most important mail transmission agent. Understanding the working mode of email is very important. Generally, the email program is divided into user agents, transmission agents, and delivery agents. The specific command to Disable Sendmail is as follows:


Disable sendmail

1) [root @ sample ~] #/Etc/rc. d/init. d/sendmail stop messages disable the sendmail service
Or [root @ sample ~] # Service sendmail stop messages disable the sendmail service
Shutting down sendmail: [OK]
Shutting down sm-client: [OK]

2) [root @ sample ~] # Chkconfig sendmail off startup Disable sendmail from startup

3) [root @ sample ~] # Chkconfig -- list sendmail enabled: Make sure that if sendmail is disabled, it is OK)
Sendmail 0: off 1: off 2: off 3: off 4: off 5: off 6: off

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.