Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Dec 2003 11:23:48 -0600
From:      "Micheal Patterson" <micheal@tsgincorporated.com>
To:        "samy lancher" <washville2003@yahoo.com>, <freebsd-questions@freebsd.org>
Subject:   Re: Email problem
Message-ID:  <04b001c3c3f9$601110b0$4df24243@tsgincorporated.com>
References:  <20031215200323.75107.qmail@web60301.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help




----- Original Message ----- 
From: "samy lancher" <washville2003@yahoo.com>
To: <freebsd-questions@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[351]: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
wrong.
> In php.ini, i have set sendmail_path = "/usr/sbin/sendmail".
>
> thanks in advance.
> Naveen.
>
>
>

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.

--

Micheal Patterson
TSG Network Administration
405-917-0600

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
message.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?04b001c3c3f9$601110b0$4df24243>