Am 01.01.2014 16:36, schrieb Harald Leithner:
> Dbmail doesn't send this capabilities before the user is authenticated.

which is standards conform but not a must

> It will send them after login, so the proxy should? not announce the 
> capabilities before login or?

it's nothing wrong have them in the greeting string
in fact have them in the greeting string can reduce overhead

https://bugzilla.mozilla.org/show_bug.cgi?id=401293

> I get this after login:
> 
> "OK [CAPABILITY IMAP4rev1 ACL RIGHTS=texk NAMESPACE CHILDREN SORT QUOTA 
> THREAD=ORDEREDSUBJECT UNSELECT IDLE
> STARTTLS ID] User xxx authenticated"
> 
> If I don't tell the proxy the complete list I don't have to maintain it after 
> an upgrade of dbmail ;-)

but you are playing with fire because announcing a capability not dupported
by the backend breaks clients randomly and in a horrible way - been there,
done that years ago caused by a dovecot bug announcing it's own capabilities
in the imap-banner instead the configured ones

> Also I don't know if nginx support IDLE

uhm if not it would not be a sane imap-proxy because in doubt
it doe snot need to care about that after client and backend
are connected together

> @Paul that correct not to send all capabilities before login or?

it is correct but not needed - it forces the client to request them after
login while having them in the imap-banner may save a complete command
with all it's overhead - see link above

> Happy new Year...
> 
> On Tue, 31 Dec 2013 01:08:16 +0100, Tomas Kuliavas 
> <to...@users.sourceforge.net> wrote:
> 
>> Proxy declares UIDPLUS support, but passes UID EXPUNGE command to IMAP
>> server without UIDPLUS support without converting it to alternative IMAP
>> commands. They have default capability declaration which does not fit base
>> IMAP4rev1 server features.
>>
>> http://nginx.org/en/docs/mail/ngx_mail_imap_module.html#imap_capabilities
>>
>> default:
>> imap_capabilities IMAP4 IMAP4rev1 UIDPLUS;
>>
>> Fix your nginx imap module config. Make sure that extensions supported by
>> DBmail are declared. Don't confuse your IMAP clients and allow them to use
>> features supported by actual IMAP server. 'IMAP4 IMAP4rev1 UIDPLUS' does
>> not fit DBmail. You are missing namespace, quota, sort and other
>> extensions. Reindl already posted proper capability config.
>>
>> 2013.12.31 00:26 Harald Leithner rašė:
>>> I didn't thought that nginx should declare such a important thing.
>>>
>>> Thats the only capability it declares....
>>>
>>> Am 30.12.2013, 23:07 Uhr, schrieb Tomas Kuliavas
>>> <to...@users.sourceforge.net>:
>>>
>>>> Then it is not Outlook or DBmail problem. Fix your IMAP server/proxy
>>>> configuration. Make sure that proxy capability matches your IMAP server
>>>> options. If proxy declares incorrect capability without implementing
>>>> those
>>>> features within proxy itself, it will confuse IMAP clients.
>>>>
>>>> Any IMAP client with UIDPLUS support will use UID EXPUNGE, if IMAP
>>>> server
>>>> declares UIDPLUS. It gives more controls than normal EXPUNGE. UID
>>>> EXPUNGE
>>>> is not regular IMAP command and UIDPLUS extension is not supported by
>>>> DBmail 3.1.8. If nginx declares UIDPLUS, then it should implement this
>>>> capability within proxy.
>>>>
>>>> 2013.12.30 22:50 Harald Leithner rašė:
>>>>> Thats possible, nginx adds UIDPLUS...
>>>>>
>>>>> thx
>>>>>
>>>>> Am 30.12.2013, 20:24 Uhr, schrieb Tomas Kuliavas
>>>>> <to...@users.sourceforge.net>:
>>>>>
>>>>>> 2013.12.30 20:21 Harald Leithner rašė:
>>>>>>> Hi,
>>>>>>>
>>>>>>> today I setup outlook 2010 with a imap account, more or less a new
>>>>>>> account.
>>>>>>>
>>>>>>> Every time I delete a message I get the error "invalid UID
>>>>>>> command"..
>>>>>>>
>>>>>> ....
>>>>>>> ---------------- Read from:
>>>>>>> ANantes-158-1-228-84.w2-0.abo.wanadoo.fr:51028
>>>>>>> ---------------
>>>>>>> kwpt UID EXPUNGE 5498361
>>>>>>>
>>>>>>> ---------------- Read from:
>>>>>>> ANantes-158-1-195-175.w2-0.abo.wanadoo.fr:20143 ---------------
>>>>>>> kwpt BAD invalid UID command
>>>>>>
>>>>>> IMHO you are declaring UIDPLUS extension in your dbmail capability
>>>>>> string
>>>>>> or Outlook is trying to use without checking CAPABILITY. RFC4315

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
DBmail mailing list
DBmail@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to