Reply to PHP, sendmail, and mail() - VERY SLOW - please help

Your name:

Reply:


Posted by IamtheEvster on 05/19/06 05:34

I'm working with a LAMP platform - PHP 5.1.4, MySQL 5.0.21, RedHat
Enterprise 4... Running Sendmail 8.x.

I'm using the PHP mail() function to send some confirmation emails out
when a user submits a form. My understanding is that this is basically
a wrapper for sendmail (specifically, sendmail -t -i).

In my development environment, this works great. Everything is fast
and wonderful.

In my production environment, it takes 10-15 seconds or more before the
mail() function completes. If I comment out that function, the page is
nice and quick again.

Does anyone have any ideas of what sort of configuration issue this
might be (I'm assuming this is a config issue). My sendmail config
(/etc/sysconfig/sendmail) is pretty simple right now, it's just
specifying DAEMON=yes and QUEUE=1m.

Any advice would be much appreciated. Thanks in advance.

Evan

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация