Solve the issue of slow loading of Sendmail and sm-client under Fedora13

Source: Internet
Author: User
Linux environment: In most Linux releases of Fedora13, the old mail system package sendmail is installed by default. After the system is installed, many of the brothers encounter the startup process, when the sendmail service is started, it stops. Friends Without patience and experience may think that the system is faulty or the system is not properly installed. In fact, it is neither a system fault, generally, when the system starts sendmail, the system queries the record or Reverse Domain Name Record of the host name you set,

Linux: Fedora 13

In most Linux versions, the old mail system package sendmail is installed by default. After the system is installed, many of the brothers encounter a restart during the startup process, when the sendmail service is started, it stops. Friends Without patience and experience may think that the system is faulty or the system is not properly installed. In fact, it is neither a system fault, generally, this is not because the system is not properly installed, but when the system starts sendmail, It queries the record or Reverse Domain Name Record of the host name you set. Because the nine Global DNS root systems are in the United States, at this time, the dns A record corresponding to the Host Name of the local machine will be queried.

Once you know the crux of the problem, you can take the right medicine. For example, you can modify the system configuration file/etc/hosts.

Let sendmaill bypass the query remote host. Here is the simplest method.

Modify/etc/hosts. Before Modification

127.0.0.1 localhost. localdomain localhost

Modify

127.0.0.1 localhost. localdomain localhost Host Name

The above operation should be executed under the root permission. Check the host name command: hostname.

When I restart, I find that sendmail and sm-client are started in seconds.

Note: Some people on the Internet say they can't modify resolv. conf. Resolv. conf is the DNS server configuration file. For more information, see the differences between hosts, host. conf, and resolv. conf.

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.