atom feed2 messages in net.sourceforge.lists.courier-users[courier-users] IMAP acl
FromSent OnAttachments
Remi CoolNov 22, 2006 11:41 pm 
Remi CoolNov 24, 2006 12:37 am 
Subject:[courier-users] IMAP acl
From:Remi Cool (mail@smartology.nl)
Date:Nov 22, 2006 11:41:36 pm
List:net.sourceforge.lists.courier-users

Hello,

I have my mailserver (exim4) and imap-server (courier-imap) settings stored in a database for easy maintenance. This setup works fine, but I must prevent users from renaming shared folders, otherwise the maildir name gets changed and exim can't deliver the messages.

The solution I now have is to use an acl without 'x' on my non-mutable folder and with 'x' in subsequent folders.

Non-mutable:

owner aceilrstw anyone ceilrstw

Mutable:

owner aceilrstwx anyone ceilrstwx

#shared myfolder (non-mutable) test (mutable)

The drawback is that I can't (re)move any mutable folders ... according to Thunderbird the mailserver responds with that it cannot move folders to a different account (trash). Moving it to a different folder under #shared is also not possible.

Is there a workaround for this kind of problem?

An other solution, more user friendly, would be if courier-imap would call (hook) a script with params when a foldername was changed. The script could adapt the database setting accordingly.

- Remi -