Now i did it whith file permission.The files can no longer be deleted. But there is still a problem. All mails com in to .info/new. The new folder is igored if I have only read permission. Only if I copy the file manually to cur they are shown. Any trick any Idea!? my chmod for .info is 755
----------------------------------------------- EDV Daniel Müller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 Tübingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: [email protected] Internet: www.tropenklinik.de ----------------------------------------------- -----Ursprüngliche Nachricht----- Von: Sam Varshavchik [mailto:[email protected]] Gesendet: Mittwoch, 17. August 2011 14:28 An: [email protected] Betreff: Re: [courier-users] Migration to an newer courier-imap on centos 5.6 Daniel Müller writes: > So well now. This is working, but how do I make the shared-folders > read only. This: maildirmake -s read -f info > /home/oeffentlich/Maildir. Is not sufficient. The messages can be deleted. > maildiracl -set Maildir INBOX.info anyone lr ??? Gave it a try, they > are still deleteable. No, that's virtual shared folders, not applicable. When using filesystem-permission based folders like you have, your actions are governed by traditional filesystem permissions. If the permissions on a file let you delete it, you can delete it. It's up to you to set up the ownership and the permissions of each account accordingly, and since all folders in an account are, obviously, owned by the same userid, you cannot discriminate with different permissions on different shared folders in the same account. If you want to use access control lists, you must switch to virtual accounts and virtual shared folders. > > ----------------------------------------------- > EDV Daniel Müller > > Leitung EDV > Tropenklinik Paul-Lechler-Krankenhaus > Paul-Lechler-Str. 24 > 72076 Tübingen > > Tel.: 07071/206-463, Fax: 07071/206-499 > eMail: [email protected] > Internet: www.tropenklinik.de > ----------------------------------------------- > > -----Ursprüngliche Nachricht----- > Von: Sam Varshavchik [mailto:[email protected]] > Gesendet: Mittwoch, 17. August 2011 13:45 > An: [email protected] > Betreff: Re: [courier-users] Migration to an newer courier-imap on centos 5.6 > > Daniel Müller writes: > > > This did the trick : logged in with sqwebmaild and the folders are > > there, thank you. > > But what about the shared folders. I think I have not done wrong. > > > > " The same thing with shared folders. > > I did maildirmake -s read -f info /home/oeffentlich/Maildir > > This is only the second step. The first step is to create the maildir using > the -S flag, and then use the -s and -f flags to create an individual > folder. See the maildirmake man page. > > Additionally, you need to verify that permissions on the top level > directories, up to the home directory, will work. You can do whatever you > want to that maildir, but if /home/oeffentlich is chmod-ed to 700, it > doesn't matter how you twiddle the permissions on the maildir, nobody else > will be able to access it, obviously. > > > > > > [root@comm2 Maildir]# pwd > > /home/oeffentlich/Maildir > > [root@comm2 Maildir]# ls -la > > insgesamt 32 > > drwxrwxr-x 7 oeffentlich users 4096 16. Aug 13:33 . > > drwx------ 5 oeffentlich users 4096 16. Aug 12:46 .. > > drwxrwxr-x 2 oeffentlich users 4096 16. Aug 12:53 courierimapkeywords > > -rwxrwxr-x 1 oeffentlich users 15 16. Aug 12:53 courierimapuiddb > > drwxrwxr-x 2 oeffentlich users 4096 16. Aug 12:46 cur drwxrwxr-x 5 > > oeffentlich users 4096 16. Aug 13:34 .info drwxrwxr-x 2 oeffentlich > > users 4096 16. Aug 12:46 new drwxrwxr-x 2 oeffentlich users 4096 16. > > Aug 13:00 tmp > > > > > > > > Put /usr/lib/courier-imap/etc/maildirshared > > > > Content of maildirshared: > > Infos /home/oeffentlich/Maildir/.info" > > > > Nothing shows up in testers Maildir!?? > > I even tried the other way > > maildirmake --add Infos=/home/oeffentlich/Maildir /home/tester/Maildir" > > > > Do I have to enable shared folders somewhere in the configs: > > authdaemonrc there DEFAULTOPTIONS ? > > > > > > ----------------------------------------------- > > EDV Daniel Müller > > > > Leitung EDV > > Tropenklinik Paul-Lechler-Krankenhaus > > Paul-Lechler-Str. 24 > > 72076 Tübingen > > > > Tel.: 07071/206-463, Fax: 07071/206-499 > > eMail: [email protected] > > Internet: www.tropenklinik.de > > ----------------------------------------------- > > > > -----Ursprüngliche Nachricht----- > > Von: Sam Varshavchik [mailto:[email protected]] > > Gesendet: Mittwoch, 17. August 2011 12:37 > > An: [email protected] > > Betreff: Re: [courier-users] Migration to an newer courier-imap on > > centos 5.6 > > > > Daniel Müller writes: > > > > > Hello To All, > > > > > > I have a problem concerning an newer version of courier-imap 4.8.0 > > > running on centos 5.6. > > > When I add a Maildir to a users /home (maildirmake -S /home/tester > > Maildir). > > > The Maildir is > > > Created well with the structure : > > > > > > [root@comm2 Maildir]# ls -la > > > insgesamt 28 > > > drwxr-xr-x 6 tester Domain Users 4096 16. Aug 16:46 . > > > drwx------ 3 tester Domain Users 4096 16. Aug 16:44 .. > > > drwxr-xr-x 2 tester Domain Users 4096 16. Aug 16:46 courierimapkeywords > > > -rw-r--r-- 1 tester Domain Users 15 16. Aug 16:46 courierimapuiddb > > > drwx------ 2 tester Domain Users 4096 16. Aug 16:44 cur > > > drwx------ 2 tester Domain Users 4096 16. Aug 16:44 new > > > drwx------ 2 tester Domain Users 4096 17. Aug 08:28 tmp > > > > > > I can login to the Imap with any client, but the folders Trash, > > > Drafts and Sent are not shown up anymore as it did on former versions. > > > > Only the Trash folder gets created automatically. Any other folder > > must be explicitly created by your IMAP client. > > > > > ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
