PHP mail() function running very slow on Centos 5.2, Postfix

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
phanky5
Forum Newbie
Posts: 10
Joined: Sun Nov 16, 2008 2:20 pm

PHP mail() function running very slow on Centos 5.2, Postfix

Post by phanky5 »

Hi guys.

I am having problems with the php mail function. All of my scripts containing php mail() function are running extremely slow. When an email is send out the script takes up to one minute to load. I had the same script running on a different setup before (shared hosting) where the mail() function was executed instantly. Since moving the website to my own server (Centos 5.2, Postfix) I am experiencing those delays. I suspect it’s something with the server settings.

Did any of you have this problem before? How to solve this?

Thank you for your help in advance.
Post Reply