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.