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.