/var/spool/mail and new users

David Kewley kewley at caltech.edu
Thu Oct 7 03:51:33 UTC 2004


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.

David




More information about the fedora-test-list mailing list