The problem is that the hosts have problems with the host settings, you can look at the /var/log/mail.log
Retry and sleeping, plus other time, with sendmail send mail so long, too tired, say the above error:
My unqualified host name (justswitch-64) unknown; Sleeping for retry
My hostname is justswitch-64, I in the hosts have already developed the IP address of this machine, why still can't, still can't find, continue
Executive Sendmail–v
Tips:
Warning:local host name (TESTDB) is not qualified; See cf/readme:who AM I?
Recipient names must be specified
Vim/usr/share/doc/sendmail/readme.cf
+-----------+
| Who AM I? |
+-----------+
Normally, the $J macro is automatically defined to be your fully
Qualified domain name (FQDN). Sendmail does this by getting your
Host name using GetHostName and then calling GetHostByName on the
Result. For example, in some environments GetHostName returns
Only the root of the host name (such as "foo"); GetHostByName is
Supposed to return the FQDN ("foo.bar.com"). In some (fairly rare)
Cases, gethostbyname may fail to return the FQDN. In the case
You must define confdomain_name to be your fully qualified domain
Name. This is usually the done using:
Dmbar.com
Define (' Confdomain_name ', ' $w. $m ') DNL
is a point of trouble, in the hosts add
127.0.0.1 justswitch-64 justswitch-64
Fix the problem, restart sendmail
Service SendMail Restart
And then the test, the speed is much faster. And also the speed of restarting the sendmail has been increased, basically the second start.
Read the blogger's post to solve the problem, thank you!
Connection:http://www.enjoydiy.com/1472.html
Slow issue of Linux SendMail sending