- Mate Wierdl <[EMAIL PROTECTED]>:
| The man page for qmail-users says:
|
| =joe.shmoe:joe:503:78:/home/joe:::
|
| says that mail for joe.shmoe should be delivered to user
| joe, with uid 503 and gid 78, as specified by
| /home/joe/.qmail.
|
| Does this mean that /home/joe/.qmail has to exist?
No.
| What if it does not exist; then mail gets delivered to
| /home/joe/Mail{box,dir} ?
Then the default delivery instruction is followed.
| The reason I am confused is that man qmail-local says that in
|
| SYNOPSIS
| qmail-local [ -nN ] user homedir local dash ext domain
| sender defaultdelivery
|
| homedir must be the user's homedir:
|
| homedir is the user's home directory. It must be an abso-
| lute directory name.
Perhaps that should read "homedir is assumed to be the user's home
directory."
| Now, in Josh Murray's post, we see
|
| =gwooden-ladybug:gwooden:1008:100:/var/qmail/popboxes/g-rock-net/ladybug:::
| =gwooden-josh:gwooden:1008:100:/var/qmail/popboxes/g-rock-net/josh:::
|
| and it seems clear that here /var/qmail/popboxes/g-rock-net/josh is
| not gwooden's homedir. If /var/qmail/popboxes/g-rock-net/josh does
| not have to be gwooden's homedir, then what kind of ownership should
| it have? Does it have to be owned by gwooden at all, or just be
| (and the Maildir in it) writable by him?
In this case, user 1008 (and/or group 100) must be able to cd to the
directory and to stat it, and the mode bits of that directory must not
match any of the bits specified in conf-patrn. In the default
configuration, that just means the directory must not be world
writable. Other than that, I don't think there are any restrictions.
For mbox deliveries, there is the additional requirement that the mbox
file must exist and be writable to this user/group, or else the
directory permissions must allow the creation of the mbox file. Note
that this latter requirement *may* conflict the conf-patrn
requirement! For maildir delivery, all that is needed is for the
user/group to have wx permissions to the tmp/ and new/ subdirs.
- Harald