Hi ,

I've gotten Courier Imap to run pretty well, but I have spent the last 48 hours trying everything to get a simple scenario working with shared folders. I would like to have a Software folder ( for the software team ) with access to only about 4 people. Each user should have read/ write privileges without the ability to delete each other's emails. Seems simple enough.

So I did the following on a Ubuntu 11.10 system , running these packages ( output of dpkg -l |grep courier )

courier-authdaemon 0.63.0-3.1ubuntu1 Courier authentication daemon courier-authlib 0.63.0-3.1ubuntu1 Courier authentication library courier-authlib-ldap 0.63.0-3.1ubuntu1 LDAP support for the Courier authentication library courier-authlib-userdb 0.63.0-3.1ubuntu1 userdb support for the Courier authentication library courier-base 0.66.1-1ubuntu3 Courier mail server - base system courier-imap 4.9.1-1ubuntu3 Courier mail server - IMAP server courier-imap-ssl 4.9.1-1ubuntu3 Courier mail server - IMAP over SSL courier-maildrop 0.66.1-1ubuntu3 Courier mail server - mail delivery agent courier-ssl 0.66.1-1ubuntu3 Courier mail server - SSL/TLS Support courier-webadmin 0.66.1-1ubuntu3 Courier mail server - web-based administration frontend



1.  I created a system user *software* as follows

sudo useradd -r software

This created the system user and group for software.


2. I added my user and 3 others to the /etc/group entry for software, logged out and logged back in again to prove they took.

3. Next I ran these commands in a shared directory as the user *software* ( note the Shared directory already existed and was readable from imap clients )

maildirmake -s write,group  -f "Test"  /var/mail/shared/Shared


This created the directory Test with the following permissions

drwxrwx--T  5 software   software   4096 May 30 10:40 .Test/



4. I change the permission so that group can write to Test

chmod -R g+w /var/mail/shared/Shared/.Test/


5. Now I add the link in my Maildir

maildirmake --add Test=/var/mail/shared/Shared/.Test  $MAILDIR




6. I next restarted courier imap, and the auth daemon



Now I am unable to see the Test directory inside of Thunderbird when I go to Subscribe.


Questions:

1. Why is this the case


2. Secondly, do I even have to make this a system group. Why isn't this just a regular Unix group ? If this is required, it might be beneficial to actually include a step in the instructions showing users the desired way to create this.


Currently, I can only make this work if I make the entire directory world read-writable which isn't the desired behavior.

Thanks for any help on this matter,

Sincerely



-Jimi

------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to