go-imap icon indicating copy to clipboard operation
go-imap copied to clipboard

Support for QRESYNC (RFC 7162) only for the client.

Open MartinNikolovMarinov opened this issue 3 years ago • 3 comments

Hello everyone. I know there has been a long discussion about IMAP extension support and in particular for QRESYNC (RFC 7162). From what I understand you have a plan to implement it in v2, but for some of us this feature is required today.

Perhaps a compromise could be reached.

Implementing this extension in the IMAP server does take quite a bit of effort (I suppose) but adding support in the client is rather simple. In fact all it takes is adding 1 new StatusItem type and storing it in the MailboxStatus struct. These changes would, almost a 100%, be required if/when you decide to implement it in v2.

Please consider merging this PR so that we can avoid forking and diverging source history further. There are 2 teams in my company that have separate quite diverged forks of this project.

note: There is a change in go.mod, which is not related/necessary, but it's done to include this memory efficiency change https://github.com/emersion/go-textwrapper/commit/9839c92a89e1a7bd26071bcb068512e780b4680a I realize it adds a bunch of code from go-message that might not be wanted, so I am ok with reverting this.

Thanks in advance and let me know :)

MartinNikolovMarinov avatar Mar 31 '21 09:03 MartinNikolovMarinov

Hey guys, any chance for this PR to get merged soon ?

MartinNikolovMarinov avatar Apr 11 '21 18:04 MartinNikolovMarinov

This implements only a small part of RFC 7162. How is it useful alone?

emersion avatar May 18 '21 07:05 emersion

There is a change in go.mod, which is not related/necessary

Yeah, please don't include unrelated changes in your PR.

emersion avatar May 18 '21 07:05 emersion