-
-
Notifications
You must be signed in to change notification settings - Fork 133
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
Error 352 when getting Filters #1455
Comments
https://datatracker.ietf.org/doc/html/rfc5804#section-2.3
Yours does not. It says: |
That is incorrect, you are quoting the example. According to the ManageSieve grammar, both response-logout = response-oknobye
response-oknobye = response-ok / response-nobye
response-nobye = ("NO" / "BYE") [SP "(" resp-code ")"]
[SP string] CRLF
;; The string contains human-readable text
;; encoded as UTF-8. |
The RFC states above the example:
So @the-djmaze is correct. |
@m-i-k-e-y we both are right. BYE is important in case of errors, misbehaviour, etc. So based on all info @mdecimus is wrong in this case. And OK is the valid option for normal flow. |
I agree, there is a "bug" in the RFC. I will have this fixed to use the same response as Pigeonhole since this is what most software was tested against. However, even if the server is crashing, I think SnappyMail should follow the robustness principle and not fail on unexpected responses for non-critical commands. |
True, that's why i made a workaround to not crash on BYE. I did make a mistake in IMAP with that, because it does have an untagged BYE followed with a tagged OK. |
Stalwart has now been updated to return The following errata report has been submitted for RFC5804,
"A Protocol for Remotely Managing Sieve Scripts".
--------------------------------------
You may review the report below and at:
https://www.rfc-editor.org/errata/eid7825
--------------------------------------
Type: Editorial
Section: 4
Original Text
-------------
response-logout = response-oknobye
Corrected Text
--------------
response-logout = response-ok
Notes
-----
The client sends the LOGOUT command when it is finished with a
connection and wishes to terminate it. The server MUST reply with an
OK response. The server MUST ignore commands issued by the client
after the LOGOUT command.
Instructions:
-------------
This erratum is currently posted as "Reported". (If it is spam, it
will be removed shortly by the RFC Production Center.) Please
use "Reply All" to discuss whether it should be verified or
rejected. When a decision is reached, the verifying party
will log in to change the status and edit the report, if necessary.
--------------------------------------
RFC5804 (draft-ietf-sieve-managesieve-09)
--------------------------------------
Title : A Protocol for Remotely Managing Sieve Scripts
Publication Date : July 2010
Author(s) : A. Melnikov, Ed., T. Martin
Category : PROPOSED STANDARD
Source : Sieve Mail Filtering Language
Area : Applications
Stream : IETF
Verifying Party : IESG
|
Updated to the newest release 2.35.2 and still get Error 352 |
I'm not sure this issue has been solved, but I still get such 352 error with 2.38. |
Without the proper logs, this issue is at Stalwart |
I had the same issue with Stalwart mailserver. |
@f0rc3r starttls fails, so your Sieve is not using secure connections. |
That's right. I set it up without a secure Connection. At the Admin panel under Domain, it's working when I set it up and test it. When I try to open it, under Filters, I got Error 352. It worked in older Versioned very well. I guess it stopped working after Version 2.33 |
Hmmm, maybe a change of the code to force STARTTLS when server announces it, could be an issue. |
Thank you. |
Describe the bug
I configured a sieve server in SnappyMail to be able to create and manage filter for mail. But opening the Filters section gives me a error:
To Reproduce
Expected behavior
Getting a overview of my current filters
Screenshots
Please complete the following information:
Debug/logging information
Place them here (few lines) or as attachments (many lines)
Additional context
The text was updated successfully, but these errors were encountered: