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.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to