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).
I assume maildir-deliver would have to handle the ACL's then? Otherwise, I could do it all through dovecot-lda. IIRC, it gets it's users from the same place as dovecot. I'm sure I could set it up so that each mailing list had a user, with the maildir set to one of the shared maildir's. It's just the ACL's that cause issues. (Of course, this simple style of mailing list, would require us to teach our users that reply-to-all is needed when you want to reply to the mailing list ;-)
I'm starting to think, that maybe I need to write some specialised 'mailing list' software, that will cater for what I want.
Tim
Linux Counter user #273956