Centos Sendmail Is Very Slow

Installing, Configuring, Troubleshooting server daemons such as Web and Mail
Post Reply
arunicbe
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.
127.0.0.1 localhost localhost.localdomain
::1 localhost localhost.localdomain

Any help to fix this will be highly appreciated.

TomE
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
avij
Retired Moderator
Posts: 3039
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

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 @192.0.2.99 www.centos.org, where 192.0.2.99 is your DNS server's IP address.

Post Reply

Return to “CentOS 5 - Server Support”