/var/spool/mail and new users
seth vidal
skvidal at phy.duke.edu
Thu Oct 7 04:00:38 UTC 2004
On Wed, 2004-10-06 at 20:51 -0700, David Kewley wrote:
> mike wrote on Tuesday 05 October 2004 01:27:
> > Does anyone know where it is defined that a new mbox file is created
> > in /var/spool/mail when a new user is created?
> >
> > I use dovecot/exim with maildir and it gets in the way
>
> I suspect it's hardcoded into /usr/sbin/useradd -- running strings on that
> file reveals the string "/var/mail/%s". No mention of 'mail' in the useradd
> manpage.
>
> This is on FC2; you could grab the relevant source rpm to check whether it is
> indeed hardcoded.
>
look in /etc/login.defs
-sv
More information about the fedora-test-list
mailing list