Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Oct 1998 22:29:11 -0800 (PST)
From:      Morgan Davis <mdavis@cts.com>
To:        freebsd-stable@FreeBSD.ORG
Subject:   pw touches mailbox file
Message-ID:  <199811010629.WAA23256@io.cts.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811010629.WAA23256>