From owner-freebsd-hackers Wed Dec 13 10:20:48 2000 From owner-freebsd-hackers@FreeBSD.ORG Wed Dec 13 10:20:43 2000 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mail2.wmptl.com (mail2.wmptl.com [216.94.6.26]) by hub.freebsd.org (Postfix) with ESMTP id 09B1737B400; Wed, 13 Dec 2000 10:20:42 -0800 (PST) Received: from wmptl.com ([10.0.0.168]) by mail2.wmptl.com (8.9.3/8.9.3) with ESMTP id NAA36767; Wed, 13 Dec 2000 13:39:05 -0500 (EST) (envelope-from webmaster@wmptl.com) Message-ID: <3A37BD57.2053CF1C@wmptl.com> Date: Wed, 13 Dec 2000 13:17:59 -0500 From: Nathan Vidican Reply-To: webmaster@wmptl.com X-Mailer: Mozilla 4.72 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: questions@freebsd.org, hackers@freebsd.org Subject: changing the way mail spools are permissioned (for using web-based email service) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm currently messing around with neomail, and it seems to do everything I need it to, but it doesn't read the mail spools properly. It needs to establish a write lock on /var/mail/. I currently have the script set to run suid/sgid 'mail', but all the spools are set to user:logingroup for ownership. Since some users have different login groups than others; this convention leaves me with two possible options, (as I see it anyhow -suggestions welcomed): 1 - change neomail too be run as suid root, which leaves me sceptical as to it's security; should something screw up I could have a big problem on my hands. 2 - (prefered), change sendmail to have all the mail spools as group writeable for the group 'mail'. This is the way I'd prefer to do things, but I have little to no clue as to exactly how to accomplish this. Seeing as how the machine this is being done on is in production, and under constant use; downtime is also an issue; (If I change it, and something else don't work...I better have it back the way it was, and quickly so). Any comments, suggestions, or otherwise would be greatly appreciated. For the record, my system information is as follows: Running: FreeBSD 4.1-20000729-STABLE (no, I don't want to cvsup/update the machine...it works fine now, and that would cause downtime) Sendmail version: ESMTP Sendmail 8.9.3/8.9.3; Wed, 13 Dec 2000 13:38:08 -0500 (EST) -- Nathan Vidican webmaster@wmptl.com Windsor Match Plate & Tool Ltd. http://www.wmptl.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message