Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have a VPS running Postfix 2.3.3 on Centos 5.3, and it seems to take a long time to send an email. There is an app running on the server (drupal) that sends off a series of emails on submitting a form, and it seems to be taking a heck of a long time to send them - like maybe 30s to a minute for each one. Even just firing off mail from the command line has a similar sluggishness.

If I tail -f /var/log/maillog I can see each email go past - there's a big pause before the first and in between each subsequent email.

I have only the vaguest understanding of what I am doing here, so I am not sure what other information I can provide that might prove helpful. As far as I know we just have a fairly bog-standard install of centos,postfix and webmin running.

Any suggestions as to where to look and what to do while I'm looking there would be much appreciated.

share|improve this question
up vote 5 down vote accepted

Check that your DNS configuration is correct (all the servers listed in /etc/resolv.conf are up and answering quickly). Big delays in sending e-mail usually means DNS problems.

share|improve this answer
Everything is a freaking DNS problem! ;) – joschi Oct 27 '10 at 6:18

Yes i agree with womble. Try to configure dns on local mail server machine and list the local machine as a nameserver on /etc/resolv.conf.It might solve the problem.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.