Re: How does useradd determine the default mailbox/maildir location for new users

2006-10-10 Thread Lowell Gilbert
Niek Dekker [EMAIL PROTECTED] writes: I am running Exim 4.62 MTA on FBSD 6.0_release. When I create a new user using useradd, a mailbox file for the new user is created in /var/mail. I assume you mean adduser(8). As I am using Maildir with maildirs in /var/mail, I do not want that. Hmm,

Re: How does useradd determine the default mailbox/maildir location for new users

2006-10-10 Thread Erik Norgaard
Lowell Gilbert wrote: Niek Dekker [EMAIL PROTECTED] writes: I am running Exim 4.62 MTA on FBSD 6.0_release. When I create a new user using useradd, a mailbox file for the new user is created in /var/mail. As I am using Maildir with maildirs in /var/mail, I do not want that. And none of those

Re: How does useradd determine the default mailbox/maildir location for new users

2006-10-10 Thread Niek Dekker
Hi Lowell, thanks for the clarification. I'll have a look at the adduser script and probably make my own version. Regards, Niek Lowell Gilbert wrote: Niek Dekker [EMAIL PROTECTED] writes: I am running Exim 4.62 MTA on FBSD 6.0_release. When I create a new user using useradd, a mailbox

Re: How does useradd determine the default mailbox/maildir location

2006-10-09 Thread up
What I do is remove FreeBSD's adduser script and make my own, which does something like this: pw useradd $USERNAME -g users -L users -m -s /bin/true -k /etc/skel \ || exit passwd $USERNAME echo $USERNAME /home/$USERNAME/.qmail-default chmod 711 /home/$USERNAME Of course, you need an /etc/skel