From owner-freebsd-questions Wed Aug 9 13:50:51 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail2.panix.com (mail2.panix.com [166.84.0.213]) by hub.freebsd.org (Postfix) with ESMTP id 7DDC337BA5E for ; Wed, 9 Aug 2000 13:50:48 -0700 (PDT) (envelope-from tomg@mailhost.nrnet.org) Received: from mailhost.nrnet.org (mailhost.nrnet.org [166.84.192.39]) by mail2.panix.com (Postfix) with ESMTP id 23CC88EA0; Wed, 9 Aug 2000 16:50:45 -0400 (EDT) Received: from localhost (tomg@localhost) by mailhost.nrnet.org (8.9.3/8.9.3) with ESMTP id QAA23435; Wed, 9 Aug 2000 16:52:25 -0400 Date: Wed, 9 Aug 2000 16:52:25 -0400 (EDT) From: Thomas Good To: Jonathan Chen Cc: questions@FreeBSD.ORG Subject: Re: Nobody versus FreeBSD In-Reply-To: <20000810084219.A343@jonc.ntdns.wilsonandhorton.co.n> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 10 Aug 2000, Jonathan Chen wrote: > > I have a (postgres) database accessed via apache and perl/CGI. > > Nobody is my default user. The code that works on Linux (boo hiss) > > is failing on FBSD in one minor area: mail delivery. > > He is unable to write to /var/spool/mqueue. > > The perl script should be talking to the smtp port and not attempting > to write to /var/spool/mqueue directly. Any workaround in adding > `nobody' to the various additional groups tends to compromise > security. > > What sort of errors does /var/log/maillog list? Jonathan, This adding nobody to other groups is ineffective anyhoo. Only making the target dir 777 gets the mail delivered and I'd rather not do that... Here is my /var/log/maillog complaint: Aug 9 16:43:25 postman sendmail[309]: NOQUEUE: SYSERR(nobody): queuename: Cannot create "qfQAA00309" in "/var/spool/mqueue" (euid=65534): Permission denied Cheers, Tom -------------------------------------------------------------------- SVCMC - Center for Behavioral Health -------------------------------------------------------------------- Thomas Good tomg@ { admin | q8 } .nrnet.org IS Coordinator / DBA Phone: 718-354-5528 Fax: 718-354-5056 -------------------------------------------------------------------- Powered by: PostgreSQL s l a c k w a r e FreeBSD: RDBMS |---------- linux The Power To Serve -------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message