Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Dec 2003 09:57:57 -0800 (PST)
From:      samy lancher <washville2003@yahoo.com>
To:        Micheal Patterson <micheal@tsgincorporated.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Email problem
Message-ID:  <20031216175757.42040.qmail@web60307.mail.yahoo.com>
In-Reply-To: <04b001c3c3f9$601110b0$4df24243@tsgincorporated.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <micheal@tsgincorporated.com> 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.

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


---------------------------------
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031216175757.42040.qmail>