Saving Direct to Shared Mailbox (Was: Re: [Dovecot] Sending email over IMAP?)

grant beattie grant at grunta.com
Fri May 5 05:32:30 EEST 2006


On Fri, May 05, 2006 at 08:38:22AM +0800, Timothy White wrote:

> Thinking along similar lines to this sending email via IMAP...
> What I am thinking, is using Shared Folders/Mailbox's, like mailing
> lists. We have the power of ACL's, and if you have the appropriate
> permissions, you can 'append' emails to the folder. Except, when you
> think of a mailing list, you usually just hit reply.
> 
> One of the projects I am working on, will be setup with a number of
> shared folders, an 'official' folder that everyone has read access to,
> (probably thier own index files as well, so the Seen flag isn't
> global), and a few admins have write access to. The problem still
> comes, as to the easiest way to 'send emails' to the folder. I could
> set up a virtual user, that delivers to that folder, but then you need
> a second system of ACL's that determine who can send emails to the
> folder.... Unless, Dovecot LDA handles that....
> 
> So, other than lack of client support for saving directly to a folder,
> instead of sending to a folder... Can Dovecot LDA do what I want, or
> be made to do what I want?
> 
> I have no problems having a 'virtual' user that people send the emails
> to, as long as Dovecot LDA will handle the ACL's for it as well.
> 
> Any ideas of how to solve this problem, or if Dovecot LDA can/will do it?

one approach might be to create an alias of the form:

	mailinglist: "|maildir-deliver lists.mailinglist"

as long as your MTA runs the piped command as the correct user, and
the ficticious maildir-deliver knows how to write to maildir, this
should accomplish what you want (although it does not update the
dovecot indexes, obviously).

I'm not sure whether dovecot LDA would be capable of the same thing,
but it sounds like a useful thing to be able to do (and I'd like to be
able to do this in the not-too-distant future, also).

grant.



More information about the dovecot mailing list