From owner-freebsd-questions@FreeBSD.ORG Tue Dec 16 09:58:24 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8BA8D16A4CE for ; Tue, 16 Dec 2003 09:58:24 -0800 (PST) Received: from web60307.mail.yahoo.com (web60307.mail.yahoo.com [216.109.118.118]) by mx1.FreeBSD.org (Postfix) with SMTP id BB30143D51 for ; Tue, 16 Dec 2003 09:57:58 -0800 (PST) (envelope-from washville2003@yahoo.com) Message-ID: <20031216175757.42040.qmail@web60307.mail.yahoo.com> Received: from [216.201.214.1] by web60307.mail.yahoo.com via HTTP; Tue, 16 Dec 2003 09:57:57 PST Date: Tue, 16 Dec 2003 09:57:57 -0800 (PST) From: samy lancher To: Micheal Patterson In-Reply-To: <04b001c3c3f9$601110b0$4df24243@tsgincorporated.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: freebsd-questions@freebsd.org Subject: Re: Email problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Dec 2003 17:58:24 -0000 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 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