[Dovecot] How to serve a subset of IMAP folders for hand held devices.

Timo Sirainen tss at iki.fi
Thu Dec 29 15:07:34 EET 2011


On 29.12.2011, at 14.07, Charles Marcus wrote:

> It would be cool if the concept of 'Master User' could be expanded on to provide access to only certain other accounts, as opposed to full domains (or maybe it does alreaqdy and I just don't understand it well enough yet).
> 
> For example, we have Sales Assistants in our offices, where each assistant may assist up to 3 or 4 different Sales reps. It would be nice to be able to give the Assistant read-only access to the Sales Reps emails without having to set up shared folders for each one...

It's kind of possible, but perhaps not super easy.. Basically you can use %{login_user}, %{login_username} and %{login_domain} variables to figure out if the master user login should be accepted. With SQL you could use these to create a table that has allowed masteruser -> login_username mappings.




More information about the dovecot mailing list