atom feed5 messages in net.sourceforge.lists.courier-imapRe: [Courier-imap] Read-only folders,...
FromSent OnAttachments
Jens MayerSep 14, 2005 3:44 am 
Brian CandlerSep 15, 2005 11:17 am 
Eduardo KienetzSep 16, 2005 12:50 pm 
Brian CandlerSep 17, 2005 1:03 am 
Eduardo KienetzSep 17, 2005 10:49 am 
Subject:Re: [Courier-imap] Read-only folders, automatic expunge
From:Brian Candler (B.Ca@pobox.com)
Date:Sep 15, 2005 11:17:47 am
List:net.sourceforge.lists.courier-imap

On Wed, Sep 14, 2005 at 12:44:56PM +0200, Jens Mayer wrote:

My setup should be able to achieve the following things:

+The access of all users to their own folders should be "read only", i.e. they shouldn't be able to delete messages (creating folders an moving messages would be ok, but is not mandatory).

Perhaps you should look into virtual folders and ACLs. You can assign rights at the IMAP level per folder to each user. All mailboxes are owned by the same uid, so you don't need to create separate Unix accounts for them.

+ All mesages of all users older than a certain amount of time (i.e. 6 weeks or something like that) should be expunged and deleted permanently. Is there some built-in functionality for this, or is someone aware of some good examples if scripts are needed?

You might just need to do a 'find' across the folders and delete files in cur/, tmp/ and new/ which are older than that limit. I don't have any sample scripts, but they're not hard to write.

Regards,

Brian.