7 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Shared INBOX!!
FromSent OnAttachments
fabricio bianco abreuJan 3, 2003 9:27 am 
Noel Burton-KrahnJan 3, 2003 11:43 am 
Greg JohnstoneJan 3, 2003 12:44 pm 
Brenda BellJan 3, 2003 12:54 pm 
Jerry AmundsonJan 3, 2003 1:19 pm 
Noel Burton-KrahnJan 3, 2003 2:34 pm 
Brenda BellJan 3, 2003 3:43 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Shared INBOX!!Actions...
From:Noel Burton-Krahn (no@burton-krahn.com)
Date:Jan 3, 2003 2:34:05 pm
List:net.sourceforge.lists.courier-users

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.