Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001062

RE: [PHP] Mail slow From: Don Read (dread <email protected>)
Date: 06/28/01

On 27-Jun-01 Tim Ward wrote:
> I've finally got a mail client running on our web server and it works fine,
> except in the time it takes to run the mail() function. I've put diagnostics
> round the call and it seems to be taking 22 seconds to return. All I'm doing
> is forwarding the results of an enquiry form as plain text. I'm sure I've
> seen reference to this problem somewhere but can't remember (or find) where
> it was. Can anyone out there help?

Sounds like sendmail is timing-out on a dns lookup ...
is sendmail running as a daemon ?

try it from the shell
df | /usr/sbin/sendmail auser <email protected>

Regards,

-- 
Don Read                                       dread <email protected>
-- It's always darkest before the dawn. So if you are going to 
   steal the neighbor's newspaper, that's the time to do it.

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>