[Dovecot] Android ICS stock client and IMAP Capability issue.

Massimiliano Cianelli massimiliano at cianelli.eu
Wed Nov 7 09:13:08 EET 2012


Hello,

My phone:
Android ics 4.1.2 on galaxy nexus. 
And yes, stock mean the default client that come with the os in IMAP mode.

I already know about that configuration parameter, but it will display two time namespace in postlogin capabilities, and so I like much more to adjust the source code to fix the issue.

Yes there is k9 but I didn't like it too much, I prefer the stock client and is much important to keep compatibility with stock client then user-installed client.

About the issue on Google code, there is thr issue on google code...  but Google is a lot slow in fixing those things.
http://code.google.com/p/android/issues/detail?id=1811

In a few hour I'll update the issue noticing where is hidden the problem.

Regards
Sent from Galaxy Nexus

Robert Schetterer <rs at sys4.de> ha scritto:

>Am 06.11.2012 07:08, schrieb Ben Morrow:
>> At  6AM +0100 on  6/11/12 you (Massimiliano Cianelli) wrote:
>>> Hi,
>>>
>>>  My setup:
>>> Dovecot 2 latest, installed to replace courrier IMAP, and off course
>>> configured with the dot separator and all folder under INBOX.*.
>>>
>>> The problem:
>>> My phone was driving me mad during the test, due that it will only
>>> recognize Inbox.
>>>
>>> How found the solution:
>>> I've started sniffing IMAP traffic on my server and ended up with one
>>> difference:
>>> On courier it ask for namespace, on dovecot it won't.
>>>
>>>  I gives a better look, and noticed that courier show namespace
>>>  capability on prelogin banner, adding it too solved the problem.
>>>
>>> Reason:
>>> Android ICS stock client seems do not honor the capability gived after
>>> the login.
>> 
>> See http://wiki2.dovecot.org/Upgrading/2.0?highlight=%28capability%29 ;
>> you need to set imap_capability and/or get your client fixed.
>> 
>> Ben
>> 
>
>Hi, first ,what is the exact meaning of
>
>"Android ICS stock client"
>
>do you mean default included email client in standard android in imap
>mode, when yes, which version of Android , i like to test my own
>however is there changelog/code etc at google for this behave?
>
>conf example
>
># Override the IMAP CAPABILITY response. If the value begins with '+',
>  # add the given capabilities on top of the defaults (e.g. +XFOO XBAR).
>  #imap_capability =
>
>setting stuff here might be complex , or lead to trouble with other
>clients, if setting this might fix problems ,with clients it should be
>advised in the wiki/example-conf and/or Timo
>
>or the other way ,for massive used clients there should be
>a seperate workaround section in the conf
>
>But fixing behave clients should be prime option anyway
>
>Meanwhile use K9mail in Android as best free option in imap mode servers
>
>Best Regards
>MfG Robert Schetterer
>
>-- 
>[*] sys4 AG
>
>http://sys4.de, +49 (89) 30 90 46 64
>Franziskanerstraße 15, 81669 München
>
>Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
>Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer
>Aufsichtsratsvorsitzender: Joerg Heidrich


More information about the dovecot mailing list