You could write a small shell script to go through user dirs and do it.

for x in `ls /home/`; do
  su - "$x" -c 'maildirmake ~/Maildir'
done

If all you have is regular users in /home, give that a try. If you need to
temporarily rename some, just do something like:

for /home/ftp:

cd /home
mv ftp .ftp
<do other stuff>
mv .ftp ftp

After you get those others caught up, do a maildirmake in /etc/skel/Maildir
or whatever. When you add a new user, it will put those contents in the
users home dir...

Let me know if that works.

Later,
jh

Juha Saarinen said:
> On Thu, 13 Jun 2002, Dirk H. Schulz wrote:
>
>>  Hi there,
>>
>>  I installed and partly configured courier from the 0.38.tgz-file.
>>
>>  There is still a lot I do not understand from documentation:
>>
>>  Do I have to create the maildir for every user manually (i.e. using
>>  the makemaildir-script)? Or does courier create it if necessary?
>
> Last time I looked at Courier, you had to do it manually.
>
>>  If I have to do it manually, do I do it as root or as the user I
>>  create the maildir for?
>
> As the user in question.
>
> --
> Juha Saarinen
>
>
> _______________________________________________________________
>
> Sponsored by:
> ThinkGeek at http://www.ThinkGeek.com/
> _______________________________________________
> courier-users mailing list
> [EMAIL PROTECTED]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users




_______________________________________________________________

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to