Johannes Berg
2007-Mar-25 12:27 UTC
[Dovecot] anonymous mailing list archive configuration?
Hi, I'd like to run a mailing list archive via IMAP like for this list but my mails are in maildir and not mbox. It's easy to add a new user that has access to the maildir that mails get stored in, and I can simply link that up to that user's inbox. It's also easy to prevent putting mail into that folder. However, one thing I'm not clear on is how to prevent that user from creating new folders. I don't think I can do that with permissions to the ~/Maildir since that user needs to be able to create files there for indizes etc. Is that possible? Should/can I write a plugin that prevents things? johannes -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 190 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20070325/6775069e/attachment.bin>
Johannes Berg
2007-Mar-25 12:39 UTC
[Dovecot] anonymous mailing list archive configuration?
On Sun, 2007-03-25 at 14:27 +0200, Johannes Berg wrote:> Hi, > > I'd like to run a mailing list archive via IMAP like for this list but > my mails are in maildir and not mbox. > > It's easy to add a new user that has access to the maildir that mails > get stored in, and I can simply link that up to that user's inbox. It's > also easy to prevent putting mail into that folder. > > However, one thing I'm not clear on is how to prevent that user from > creating new folders. I don't think I can do that with permissions to > the ~/Maildir since that user needs to be able to create files there for > indizes etc. > > Is that possible? Should/can I write a plugin that prevents things?Oh, I found a solution already. Make the maildir read-only and put CONTROL/INDEX elsewhere in the homedir of the user and make that readable. johannes -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 190 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20070325/b85216a2/attachment.bin>
John Robinson
2007-Mar-25 12:45 UTC
[Dovecot] anonymous mailing list archive configuration?
On 25/03/2007 13:39, Johannes Berg wrote:> On Sun, 2007-03-25 at 14:27 +0200, Johannes Berg wrote:[...]>> However, one thing I'm not clear on is how to prevent that user from >> creating new folders.[...]> Oh, I found a solution already. Make the maildir read-only and put > CONTROL/INDEX elsewhere in the homedir of the user and make that > readable.You could also take a look at the ACL plugin. Cheers, John.