micheal at tsgincorporated.com
Tue Dec 16 09:24:30 PST 2003
----- Original Message -----
From: "samy lancher" <washville2003 at yahoo.com>
To: <freebsd-questions at freebsd.org>
Sent: Monday, December 15, 2003 2:03 PM
Subject: Email problem
> Hello all,
> I have 4.5 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:NOQUEUE:SYSERR(www):can not
chdir(/var/spool/clientmqueue/): Permission denied.
> I would be really thankful if someone could tell me where i am doing
> In php.ini, i have set sendmail_path = "/usr/sbin/sendmail".
> thanks in advance.
Change the group that http is running under to smmsp via the httpd.conf and
it should run. I don't know if this the "best" approach to this problem, but
it will allow the httpd to access the clientmqueue folder. Be warned, if
you're using mailman for mailing lists, it will have to be recompiled with
the proper gid or it will fail out.
TSG Network Administration
Confidentiality Notice: This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
More information about the freebsd-questions