hello steve,
httpd belongs to user:www and group:www; is it ok if i change only the group to smmsp? 
does it effect the webserver in any way? the webserver and email server is working 
fine now. i am worried if the change might have any bad effect.
 
thanks,
Naveen.

Micheal Patterson <[EMAIL PROTECTED]> wrote:




----- Original Message ----- 
From: "samy lancher" 
To: 
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.

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


---------------------------------
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to