Centos Sendmail Is Very Slow

Installing, Configuring, Troubleshooting server daemons such as Web and Mail
Post Reply
Posts: 1
Joined: 2014/07/24 10:30:24

Centos Sendmail Is Very Slow

Post by arunicbe » 2014/07/24 10:42:00

I have a CentOS release 6.5 (Final) server. The sendmail service is taking almost 3-5 to start.

Also, the mail sent through command line mail command and through php code taking same time to deliver.

I tried many solutions. Nothing works.

My /etc/hosts contains these values. localhost localhost.localdomain
::1 localhost localhost.localdomain

Any help to fix this will be highly appreciated.

Posts: 20
Joined: 2011/09/19 22:09:35

Re: Centos Sendmail Is Very Slow

Post by TomE » 2014/08/25 12:37:05

The most common reason for slow sendmail startup is DNS not resolving. There are tons of queries about this on Google, this one describes what's happening and how to fix it.

User avatar
Retired Moderator
Posts: 3039
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland

Re: Centos Sendmail Is Very Slow

Post by avij » 2014/08/28 19:37:26

You should check that all the name servers in your /etc/resolv.conf respond to queries. The easiest way to do that is with dig, like dig @ www.centos.org, where is your DNS server's IP address.

Post Reply

Return to “CentOS 5 - Server Support”