BINARY capability not working correctly?
Hello,
I have trouble with some attachments not working on Horde and Roundcube. I made a ticket to Roundcube webmail and they tracked down it to Dovecot not responding correctly to BINARY FETCH:
http://trac.roundcube.net/ticket/1490532
What is causing Dovecot to answer NIL? Is there an issue in Dovecot?
If I want to disable to BINARY capability in Dovecot I need to use imap_capabilities. I found out that I could add capabilities with syntax imap_capabilities= +FOO but it seems I can't use similar syntax (imap_capabilities= -FOO) to remove capabilities? If I list all capabilities like:
imap_capabilities= IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE MOVE QUOTA
I understood that this will result in listing all capabilities already pre-login. Is this a problem?
Thanks, Jouko Nikula
Op 9/13/2015 om 12:19 PM schreef Jouko Nikula:
Hello,
I have trouble with some attachments not working on Horde and Roundcube. I made a ticket to Roundcube webmail and they tracked down it to Dovecot not responding correctly to BINARY FETCH:
http://trac.roundcube.net/ticket/1490532
What is causing Dovecot to answer NIL? Is there an issue in Dovecot?
A few questions to facilitate debugging:
- Do your logs show anything that may be related to this issue?
- What is the output of
dovecot -n
?
If I want to disable to BINARY capability in Dovecot I need to use imap_capabilities. I found out that I could add capabilities with syntax imap_capabilities= +FOO but it seems I can't use similar syntax (imap_capabilities= -FOO) to remove capabilities? If I list all capabilities like:
imap_capabilities= IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE MOVE QUOTA
I understood that this will result in listing all capabilities already pre-login. Is this a problem?
Not that I know of.
Regards,
Stephan.
On 9/13/2015 6:04 AM, Stephan Bosch wrote:
Op 9/13/2015 om 12:19 PM schreef Jouko Nikula:
Hello,
I have trouble with some attachments not working on Horde and Roundcube. I made a ticket to Roundcube webmail and they tracked down it to Dovecot not responding correctly to BINARY FETCH:
http://trac.roundcube.net/ticket/1490532
What is causing Dovecot to answer NIL? Is there an issue in Dovecot?
A few questions to facilitate debugging:
- Do your logs show anything that may be related to this issue?
- What is the output of
dovecot -n
?
Probably this: http://markmail.org/message/abjg72sw7ii5ty5x
Trivial to workaround in client code, so no need to disable BINARY outright on a client.
michael
On Sat, Sep 19, 2015 at 6:27 PM, Michael M Slusarz <michael.slusarz@dovecot.fi> wrote:
Probably this: http://markmail.org/message/abjg72sw7ii5ty5x
Trivial to workaround in client code, so no need to disable BINARY outright on a client.
It seems that you were right. Updating dovecot from version 2.2.10 to 2.2.18 corrected the problem. The fix is in 2.2.13.
Thanks a lot!
- Jouko
participants (3)
-
Jouko Nikula
-
Michael M Slusarz
-
Stephan Bosch