Solution:Make sure the host's names (including localhost) are
defined in /etc/hosts, and that /etc/hosts is being used in
name resolution.
Possible Fixes:
The solution will fix in shortening waiting time execution
of mailq,sendmail -q, and restarting the service of sendmail.