[Dovecot] Iphone IMAP access

Frank Cusack frank+lists/dovecot at linetwo.net
Wed Jan 26 23:52:16 EET 2011


On 1/26/11 8:35 AM -0700 Willie Gillespie wrote:
> On 01/26/2011 05:21 AM, Frank Bonnet wrote:
>> Hello
>>
>> When I use my iphone to access my IMAP folders I can see ALL folders
>> in my userland and not only those listed in .subscriptions file ...
>
> Correct.  The iPhone mail application shows _ALL_ folders.  As far as I
> know, there is no requirement that an IMAP client must only show
> subscribed folders, so it is not doing anything illegal.

Yup.  I posted about this quite awhile ago (more than a year), and STILL
have not gotten around to implementing the feature idea I had:

Allow ':' to separate the user name from a named module which will
limit the folders shown to the client.  eg by logging in as
'frank:subscribed' instead of 'frank', the IMAP client is never
even informed of non-subscribed folders.  The module names are
arbitrary and 'subscribed' in my example is just that, an example.

':' is generally an illegal username character so using it as a
separator should prove to not be a problem.

Doing some kind of shared folder thing on the server would probably
work as a hack today.  Login as the alternate user, who has permissions
on the subscribed folders of the real user, to see only those folders.


More information about the dovecot mailing list