cd /etc/skel
echo "./Maidir/" > .qmail
chmod 644 .qmail
/var/qmail/maildirmake Maildir
useradd -m user (the -m option creates homedir if it does'nt exist, and you kan use
the -k option if you prefere another skel dir than /etc/skel)
This I think should cover it.
--
--------------------------------------------
IDG New Media Einar Bordewich
System Manager Phone: +47 2205 3034
E-Mail: [EMAIL PROTECTED]
--------------------------------------------
----- Original Message -----
From: "Tony Mai" <[EMAIL PROTECTED]>
To: "Paul Jarc" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Saturday, February 19, 2000 11:34 PM
Subject: Re: HLP: How do I know if qmail received my emails?
> Thanks Paul. That works well.
>
> If I was to include this Maildir in the /etc/skel so that the next time I
> create a user, this directory will be create for that as well, what do I
> have to do to ensure this new user will automatically entitle to his/her
> Maildir directory?
>
> ------Original Message------
> From: Paul Jarc <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Sent: February 19, 2000 9:00:55 AM GMT
> Subject: Re: HLP: How do I know if qmail received my emails?
>
>
> Tony Mai writes:
> > #cd /home/tmai
> > #/var/qmail/bin/maildirmake /home/tmai/Maildir
>
> I assume from the `#'s that you did this as root. Your Maildir needs
> to be owned by tmai. (Assuming Linux; tweak the following commands as
> necessary for your system.)
> # chown -R tmai.tmai ~tmai/Maildir # as root
>
> Then, unless you changed the system's default delivery method to be
> Maildir instead of mbox, you'll need to do:
> $ echo '/home/tmai/Maildir/' > ~tmai/.qmail # as tmai
>
>
> paul
>
> .................................................................................
> iWon.com http://www.iwon.com why wouldn't you?
> .................................................................................
>
>