Allama Hicham <[EMAIL PROTECTED]> wrote:

>I'don't  know how an account in /etc/passwd can be a "normal" user for
>qmail.

>From "man qmail-getpw":

RULES
       qmail-getpw considers an account in /etc/passwd  to  be  a
       user  if  (1)  the  account  has  a  nonzero  uid, (2) the
       account's home directory exists (and is visible to  qmail-
       getpw),  and  (3)  the  account  owns  its home directory.
       qmail-getpw ignores  account  names  containing  uppercase
       letters.   qmail-getpw also assumes that all account names
       are shorter than 32 characters.

>When a send a mail to user (in /etc/passwd)

Which user?

>I have created the Maildir :
>                # maildirmake $HOME/Maildir
>  $HOME it is the account's home directory appers in /etc/passwd ?

$HOME is the current user's home directory. The "#" prompt leads me to
believe you're doing this as root. The root user has uid 0, and is
therefore *not* a valid mail account.

> I have read the qmail-getpw, but I don't know how account's
>homedirectory can be visible to qmail-getpw.

Accessible by user qmailp. Generally, user home directories are
readable and executable by "other", so qmailp *can* access them.

-Dave

Reply via email to