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 FETCH behavior on not found messages #4215

Open
remk opened this issue Jan 13, 2021 · 1 comment
Open

IMAP FETCH behavior on not found messages #4215

remk opened this issue Jan 13, 2021 · 1 comment

Comments

@remk
Copy link
Member

remk commented Jan 13, 2021

When adding the support of James on the integration testing

of the gatling-imap project, we discovered some discrepancies between

the behavior of James and Cyrus on IMAP fetch. When doing a fetch with some non existing messages

Cyrus will do a best effort and return the existing messages whereas James will return a BAD response.

And in case of a fetch on an empty mailbox Cyrus will return a NO response where James will return a BAD one.

More details here :
linagora/gatling-imap#37

DOD

  • make the behaviour of FETCH the same than cyrus.
    ie :
    - fetch with an empty response should return a NO response.
    - fetch with a partial response should return the existing messages
  • add integration tests demonstrating those behaviours.
@chibenwa
Copy link
Member

IMO it might affect some users on PROD, I would be in favour of including this to the current Sprint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants