On Tue, 02 Sep 2003 10:09:54 -0700 Jason Williams <[EMAIL PROTECTED]> wrote:
> Good morning everyone... > > Ok..I figured out how to use /etc/skel to create Maildir folders each time > I create a user. > > What im trying to figure out now is how to I setup my system so it does not > create a folder in /var/spool/mail for each user I create... > Since im using IMAP and Maildir/ I dont need the /var/spool/mail directory > correct? > > I tried editing /etc/login.defs and commenting out the /var/spool/mail and > uncommenting the Q_MAIL Maildir line, but it still creates the line. > Unfortunately if you ask useradd to create a home directory for a user there is no way to stop it from also creating a mail directory. You'll have to remove the directory after using useradd. If you can live without useradd creating the home directory then passing "-M" to useradd will suppress the creation of both the home and mail directories. Cheers, Sean -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list