LWQ question..cjk

2001-07-03 Thread Constantine Koulis

Hi all.
i am instaling for the 20th time the LINUX 7.0 +qmail+courier-imap+vmailmgr 
but dont want to make mistakes again so i followed the maildirmake HOWTO 
that is in the /doc/ directory but i have a question.
In the LWQ is says the following :


Note: qmail-local can deliver mail to maildir mailboxes, but it can't create 
them. Maildir mailboxes should be created with the maildirmake program that 
comes with qmail. E.g., maildirmake ~/Maildir. Be sure to run maildirmake 
as the owner of the maildir, not as root. Your useradd or adduser command 
might support a skeleton directory, e.g. /etc/skel, where you can create a 
maildir that will be copied for all new users.

THAT MEANS THAT FOR EVERY VIRTUAL USER I HAVE TO DO MAILDIRMAKE
and what is SKELETON?
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




Re: LWQ question..cjk

2001-07-03 Thread Charles Cazabon

Constantine Koulis [EMAIL PROTECTED] wrote:
 In the LWQ is says the following :
 
   Note: qmail-local can deliver mail to maildir mailboxes, but it can't
   create them. Maildir mailboxes should be created with the maildirmake
   program that comes with qmail. E.g., maildirmake ~/Maildir. Be sure to
   run maildirmake as the owner of the maildir, not as root. Your useradd or
   adduser command might support a skeleton directory, e.g. /etc/skel,
   where you can create a maildir that will be copied for all new users.
 
 THAT MEANS THAT FOR EVERY VIRTUAL USER I HAVE TO DO MAILDIRMAKE

Stop shouting.  And the answer to that depends on how you're using virtual
users -- if you're using a virtual domain manager of some sort (i.e.
vmailmgr), this may not be a necessary step.  Consult the documentation for
your virtual domain manager package for details.

 and what is SKELETON?

/etc/skel, which is copied for each new system account you create.  It's a
template for an empty home directory for a system user.  Note /etc/skel does
not apply for virtual mail users, as they are not system users.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: LWQ question..cjk

2001-07-03 Thread John Groseclose

At 6:24 PM +0300 7/3/01, Constantine Koulis wrote:

THAT MEANS THAT FOR EVERY VIRTUAL USER I HAVE TO DO MAILDIRMAKE
and what is SKELETON?

Not at all. It means you have to create a Maildir in /etc/skel, which 
is the reference directory for useradd to create new user 
directories. Then, every time you run a useradd, it'll use a copy of 
/etc/skel to create their new user directory, with the files set to 
be owned by the new user.

Files and directories like Maildir and public_html (assuming you want 
your users to have web pages) can be put in /etc/skel to reduce your 
workload when creating users. Are you the primary administator for 
that machine?

man useradd explains this fairly well.
-- 
John Groseclose
[EMAIL PROTECTED]



Re: LWQ question..cjk

2001-07-03 Thread Vincent Schonau

On Tue, Jul 03, 2001 at 06:24:42PM +0300, Constantine Koulis wrote:

[...]

 Note: qmail-local can deliver mail to maildir mailboxes, but it can't create 
 them. Maildir mailboxes should be created with the maildirmake program that 
 comes with qmail. E.g., maildirmake ~/Maildir. Be sure to run maildirmake 
 as the owner of the maildir, not as root. Your useradd or adduser command 
 might support a skeleton directory, e.g. /etc/skel, where you can create a 
 maildir that will be copied for all new users.
 
 THAT MEANS THAT FOR EVERY VIRTUAL USER I HAVE TO DO MAILDIRMAKE

Please don't yell. For every (virtual or otherwise) user you have to
specifiy a delivery method. If you want to deliver the mail to your virtual
users locally, yes, you have to do maildirmake for each of them. This can of
course easily be automated if you have a database of your virtual users
somewhere.

If you don't deliver the mail locally, you do have to specify some delivery
method, e.g. through .qmail files.

 and what is SKELETON?

On some systems, when you do a 'useradd' that creates a home directory, the
useradd program will copy the files in /etc/skel to the newly created home
directory. You don't need this for virtual users.


Vince.

 




Re: LWQ question..cjk

2001-07-03 Thread Ruprecht Helms


Hi Constantine,


... Maildir mailboxes should be created with the maildirmake program that 
comes with qmail. E.g., maildirmake ~/Maildir.

...

THAT MEANS THAT FOR EVERY VIRTUAL USER I HAVE TO DO MAILDIRMAKE
and what is SKELETON?

no why. I have installed qmail with real life users using the grabtool that 
takes the users from the /etc/passwd. Before building the database I have 
edited the generated file and have through out all users, that mustn't have 
a mailbox.

I have given the right 701 for the maildirectories to grant a good security 
for it.

Regards,
Ruprecht