RE: [PHP] Mail slow
| From: | Tim Ward | Date: | Fri, 29 Jun 2001 07:48:34 +0000 |
| Subject: | RE: [PHP] Mail slow | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-55585@lists.php.net to get a copy of this message | ||
That sounds like a unix answer, I should probably have said that my web
server is NT running Apache.
Tim Ward
Senior Systems Engineer
Please refer to the following disclaimer in respect of this message:
http://www.stivesdirect.com/e-mail-disclaimer.html
> -----Original Message-----
> From: Don Read [mailto:dread@texas.net]
> Sent: 28 June 2001 17:20
> To: Tim Ward
> Cc: PHP News Group (E-mail)
> Subject: RE: [PHP] Mail slow
>
>
>
> 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@remote.com
>
> Regards,
> --
> Don Read dread@texas.net
> -- 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.
>