[BlueOnyx:19519] Sendmail php mail function slow

Simone Capra capra at erweb.it
Tue Apr 26 11:16:42 -05 2016


Hi everybody,

(i repost this message as it has been categorized under another thread).

i am experiencing a problem with all my boxes. When a php script calls 
the mail() function, it actually takes more than 30 seconds to send out 
the email (and the page loading waits that time).

i have measured it with this script
<?php

echo ini_get('sendmail_path').'<br />'.PHP_EOL;
echo date('H:i:s').'<br />'.PHP_EOL;
mail('capra at erweb.it','Hi','How are you?');
echo date('H:i:s').'<br />'.PHP_EOL;


I have also tried to disable /usr/sausalito/sbin/phpsendmail
but no luck... it's always slow!

Thanks for a reply
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20160426/6497f7b1/attachment.html>


More information about the Blueonyx mailing list