From owner-freebsd-stable Sat Oct 31 22:29:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA17331 for freebsd-stable-outgoing; Sat, 31 Oct 1998 22:29:16 -0800 (PST) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from mh2.cts.com (mh2.cts.com [209.68.192.68]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA17326 for ; Sat, 31 Oct 1998 22:29:15 -0800 (PST) (envelope-from mdavis@io.cts.com) Received: from io.cts.com (io.cts.com [198.68.174.34]) by mh2.cts.com (8.8.7/8.8.5) with ESMTP id WAA29145 for ; Sat, 31 Oct 1998 22:29:11 -0800 (PST) Received: (from mdavis@localhost) by io.cts.com (8.8.8/8.8.8) id WAA23256 for freebsd-stable@freebsd.org; Sat, 31 Oct 1998 22:29:11 -0800 (PST) (envelope-from mdavis) From: Morgan Davis Message-Id: <199811010629.WAA23256@io.cts.com> Subject: pw touches mailbox file To: freebsd-stable@FreeBSD.ORG Date: Sat, 31 Oct 1998 22:29:11 -0800 (PST) X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The 'pw useradd' function includes an undocumented feature of creating a mailbox file in /var/mail. There is no flag for disabling this, nor is it really necessary since it'll get created by sendmail anyway. But alas, it's there. Unfortunately, the assumption about /var/mail being the location for mailboxes is problematic if /usr/libexec/mail.local has been modified to use an alternate location (e.g., to support Qualcomm Popper's hashed spool directory feature -- /var/mail/j/s/jsmith). Suggestion: If pw must create a mailbox file, it should provide an option for specifying where that file is, or at least write through mail.local to honor any local configuration changes. At the very least, it should have a flag for disabling mailbox creation altogether. --Morgan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message