procmail
[Top] [All Lists]

Shared Maildir user permissions

2005-11-02 10:50:36
I have created a shared Maildir using

mailmakedir -S /home/shared/

and created the shared folder and add the shared-folders info to each user.

The pop3 collection is from a shared account for example

poll mail.server.net protocol pop3
user "jokes" with password "jokes"
is user1 here

The emails are sent to the user1's Maildir and then the .procmailrc
does its stuff

:0
* ^To:(_dot_)*jokes(_at_)*
"shared-folders/Shared/Jokes/shared/"

However the emails are created under user1 as the owner and whell as
the group (as you would expect) but Users 2 and 3 cannot see the
emails. If I chown them to their username they can see them, but then
user1 can't, etc.

I noticed that the files were wrote as:

-rw-------  1 user1  wheel  2287 Nov  2 15:57
1130947048.26482_0.mail.localdomain.local:2,

if I

chmod +r to the file:

-rw-r--r--  1 user1  wheel  2287 Nov  2 15:57
1130947048.26482_0.mail.localdomain.local:2,

Everyone can see.

how can I get this automated?

Thanks.

Paul.


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>