On Mon, Dec 15, 2003 at 12:05:54PM -0800, Naveen Glore wrote: : : I have freebsd server with apache, PHP and mysql. i wrote a simple PHP : program using mail(). The mail() function returns true without any : error. but the problem is the email is never delivered. I viewed the : log file for mail(/var/log/maillog) and i saw the following error: : : Server sendmail[351]:NOQUEUE:SYSERR(www):can not chdir(/var/spool/clientmqueue/): Permission denied.
It's a Sendmail issue. Make sure that directory has the right permission and ownership settings. Mine looks like this: drwxrwx--- 2 smmsp smmsp 68 11 Dec 07:17 /var/spool/clientmqueue -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php