From owner-freebsd-questions Fri Nov 22 14:16: 7 2002 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 72EDE37B401 for ; Fri, 22 Nov 2002 14:16:06 -0800 (PST) Received: from mailout5-0.nyroc.rr.com (mailout5-1.nyroc.rr.com [24.92.226.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5950D43EA9 for ; Fri, 22 Nov 2002 14:16:05 -0800 (PST) (envelope-from cjm2@earthling.net) Received: from mail.27in.tv (roc-24-59-179-24.rochester.rr.com [24.59.179.24]) by mailout5-0.nyroc.rr.com (8.11.6/RoadRunner 1.20) with SMTP id gAMMFwF26598 for ; Fri, 22 Nov 2002 17:16:02 -0500 (EST) Received: (qmail 2921 invoked by uid 0); 22 Nov 2002 22:17:43 -0000 Received: from localhost.lan.27in.tv (HELO 27in.tv) (127.0.0.1) by localhost.lan.27in.tv with SMTP; 22 Nov 2002 22:17:42 -0000 Received: from 216.153.202.58 (SquirrelMail authenticated user cjm2) by www.27in.tv with HTTP; Fri, 22 Nov 2002 17:17:42 -0500 (EST) Message-ID: <2344.216.153.202.58.1038003462.squirrel@www.27in.tv> Date: Fri, 22 Nov 2002 17:17:42 -0500 (EST) Subject: OT: QMail, Procmail, & Root privs. From: "C J Michaels" To: X-Priority: 3 Importance: Normal X-Mailer: SquirrelMail (version 1.2.8) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I am running qmail(mbox)+procmail. I have a script that is run from /usr/local/etc/procmailrc. For reasons I can't fathom it seems to have dropped root privs before the script specifies it (DROPPRIV). It's a very simple script, it sets some env variables, runs 'test' and 'grep' and delivers mail based on the results. Problem is the files aren't readable but everyone and test and grep need to run as root. Has anyone run into this or have any ideas on how I can troubleshoot? Verbost logging does say anything about dropping privs. Thanks -- Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message