Hi Brenda,
I just looked through the qmail-1.03/qmail-local.c source. qmail chokes if
the user's $HOME is writable, but doesn't check perms on the Maildir itself.
Let me try it out on my server...
Yep, no problem. I've linked another user's mail directory into my own
maildir and made myself a member or her group. Now I can see her whole
maildir as a subfolder of my own. Cool. qmail still delivers to her
maildir ok.
BTW: If your MTA doesn't like rwxrxw--- directories, you could pipe all mail
through procmail, which doens't mind group writeability
--Noel
----- Original Message -----
From: "Brenda Bell" <k15a...@theotherbell.com>
To: <cour...@lists.sourceforge.net>
Sent: Friday, January 03, 2003 12:57 PM
Subject: Re: [courier-users] Shared INBOX!!
Noel Burton-Krahn wrote:
# let's have b and a share a subfolder, not the whole Maildir
maildirmake ~a/Maildir/Folder
# make b's Maildir/Folder point to a's. Courier will always look in
# the user's home directory for the Maildir, so b's home Maildir must
point
# to the shared one
#
ln -s ~a/Maildir/Folder ~b/Maildir/Folder
# put b in a group that can read/write a's maildir
groupadd agroup
usermod -G agroup b
# make sure the group can read/write each other's file in Maildir.
chgrp -R agroup ~a/Maildir/Folder
chmod g+wx ~a/Maildir/Folder
find ~a/Maildir/Folder -type d | xargs g+s
Depending on your MDA, this isn't going to work. For instance, qmail
will not deliver mail to a Maildir unless its permissions are rwx for
the owner and --- for group and world. Based on a cursory test I just
ran, I don't believe b will be able to access the Folder in a's Maildir
because of the restricted permissions on Maildir.