Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IMAP IDLE capability missing (Push support) #446

Closed
Dr-Escher opened this issue Jan 17, 2022 · 2 comments
Closed

IMAP IDLE capability missing (Push support) #446

Dr-Escher opened this issue Jan 17, 2022 · 2 comments
Assignees
Labels
bug Something isn't working. go-imap Issue that is caused by a problem in go-imap. ready-for-release Feature is implemented and available for testing in dev branch. It will be included in the next rele

Comments

@Dr-Escher
Copy link

Describe the bug

Latest maddy doesn't report the IMAP IDLE capability, rendering message pushing unavailable.

Steps to reproduce

  • Deploy maddy v0.5.2 (3ae0704)
  • Connect via IMAP (thunderbird 91.5.0-0.1 via export MOZ_LOG=IMAP:4 in this case)
  • Observe reported IMAP capabilities

Log files

  1. maddy instance
    [Parent 11216: IMAP]: I/IMAP 7f63b185f800:redacted:NA:CreateNewLineFromSocket: 45 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR CHILDREN UNSELECT MOVE APPENDLIMIT APPENDLIMIT CHILDREN I18NLEVEL=1 SORT THREAD=ORDEREDSUBJECT COMPRESS NAMESPACE] AUTHENTICATE completed

Other examples for reference:

  1. generic provider A
    [Parent 11216: IMAP]: I/IMAP 7f63bdbea000:redacted:NA:CreateNewLineFromSocket: 93 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE 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 BINARY MOVE SPECIAL-USE QUOTA] Logged in

  2. generic provider B
    [Parent 11216: IMAP]: I/IMAP 7f63b1877000:redacted:A:CreateNewLineFromSocket: * CAPABILITY IMAP4rev1 CHILDREN ENABLE ID IDLE LIST-EXTENDED LIST-STATUS LITERAL- MOVE NAMESPACE SASL-IR SORT SPECIAL-USE THREAD=ORDEREDSUBJECT UIDPLUS UNSELECT WITHIN APPENDLIMIT=29360128

  3. generic provider C
    [Parent 11216: IMAP]: I/IMAP 7f63b1869800:redacted:NA:CreateNewLineFromSocket: 61 OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE 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 BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY XLIST LITERAL+ NOTIFY SPECIAL-USE] Logged in

Configuration file

Default configuration except $(hostname) and $(primary_domain)

## Maddy Mail Server - default configuration file (2021-08-16)

Environment information

@Dr-Escher Dr-Escher added the bug Something isn't working. label Jan 17, 2022
@foxcpp foxcpp self-assigned this Jan 17, 2022
@foxcpp
Copy link
Owner

foxcpp commented Jan 19, 2022

That seems to be the regression in go-imap 1.2.
Ref. emersion/go-imap#453

@foxcpp foxcpp added go-imap Issue that is caused by a problem in go-imap. ready-for-release Feature is implemented and available for testing in dev branch. It will be included in the next rele labels Jan 19, 2022
foxcpp added a commit that referenced this issue Jan 19, 2022
@Dr-Escher
Copy link
Author

Confirmed to be fixed in go-imap v1.2.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working. go-imap Issue that is caused by a problem in go-imap. ready-for-release Feature is implemented and available for testing in dev branch. It will be included in the next rele
Projects
None yet
Development

No branches or pull requests

2 participants