[GH-ISSUE #931] Add support for Sieve filters in Stalwart via JMAP #516

Open
opened 2026-02-25 21:35:13 +03:00 by kerem · 11 comments
Owner

Originally created by @marclaporte on GitHub (Mar 22, 2024).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/931

Originally assigned to: @Shadow243 on GitHub.

Work was done to improve support between Stalwart JMAP and Cypht. General progress was made at https://github.com/cypht-org/cypht/pull/909 but Stalwart-Sieve-JMAP was not working so this is being spun off to a distinct task.

Originally created by @marclaporte on GitHub (Mar 22, 2024). Original GitHub issue: https://github.com/cypht-org/cypht/issues/931 Originally assigned to: @Shadow243 on GitHub. Work was done to improve support between Stalwart JMAP and Cypht. General progress was made at https://github.com/cypht-org/cypht/pull/909 but Stalwart-Sieve-JMAP was not working so this is being spun off to a distinct task.
Author
Owner

@marclaporte commented on GitHub (Apr 13, 2024):

This is not a blocker to release Cypht 2.0

<!-- gh-comment-id:2053786687 --> @marclaporte commented on GitHub (Apr 13, 2024): This is not a blocker to release Cypht 2.0
Author
Owner

@marclaporte commented on GitHub (May 6, 2024):

https://github.com/cypht-org/cypht/releases/tag/v2.0.0 has been released. Let's try to address in Cypht 2.1.0

<!-- gh-comment-id:2096520454 --> @marclaporte commented on GitHub (May 6, 2024): https://github.com/cypht-org/cypht/releases/tag/v2.0.0 has been released. Let's try to address in Cypht 2.1.0
Author
Owner

@marclaporte commented on GitHub (May 6, 2024):

@Shadow243 @Yannick243 Please describe what issues you were running into.

<!-- gh-comment-id:2096522077 --> @marclaporte commented on GitHub (May 6, 2024): @Shadow243 @Yannick243 Please describe what issues you were running into.
Author
Owner

@Shadow243 commented on GitHub (May 6, 2024):

@Shadow243 @Yannick243 Please describe what issues you were running into.

We're encountering issues with connecting to the Sieve protocol using Stalwart. While we've been successful in connecting to SMTP, IMAP, and JMAP, Sieve connection attempts result in a loop without any error messages

<!-- gh-comment-id:2096549199 --> @Shadow243 commented on GitHub (May 6, 2024): > @Shadow243 @Yannick243 Please describe what issues you were running into. We're encountering issues with connecting to the Sieve protocol using Stalwart. While we've been successful in connecting to SMTP, IMAP, and JMAP, Sieve connection attempts result in a loop without any error messages
Author
Owner

@marclaporte commented on GitHub (May 6, 2024):

Ok, how about Sieve filters with other mail servers such as Cyrus?

<!-- gh-comment-id:2096974594 --> @marclaporte commented on GitHub (May 6, 2024): Ok, how about Sieve filters with other mail servers such as Cyrus?
Author
Owner

@marclaporte commented on GitHub (May 16, 2024):

For the record: We (well @Shadow243 mostly) will set up a dev/test server dedicated to testing the interoperability between Stalwart and Cypht. Server access will be provided to developers of the two communities. It will super useful to solve issues such as the current one.

<!-- gh-comment-id:2113711628 --> @marclaporte commented on GitHub (May 16, 2024): For the record: We (well @Shadow243 mostly) will set up a dev/test server dedicated to testing the interoperability between Stalwart and Cypht. Server access will be provided to developers of the two communities. It will super useful to solve issues such as the current one.
Author
Owner

@Shadow243 commented on GitHub (Jul 28, 2024):

Ok, how about Sieve filters with other mail servers such as Cyrus?

I restarted all the configs from scratch and we now have at least an error message. We will start to debug from there.

'''
array(2) {
["code"]=>
string(2) "NO"
["data"]=>
string(31) ""Invalid AUTH=PLAIN challenge.""
}
'''

we are beginning to see light in the tunnel 😀

<!-- gh-comment-id:2254287242 --> @Shadow243 commented on GitHub (Jul 28, 2024): > Ok, how about Sieve filters with other mail servers such as Cyrus? I restarted all the configs from scratch and we now have at least an error message. We will start to debug from there. ''' array(2) { ["code"]=> string(2) "NO" ["data"]=> string(31) ""Invalid AUTH=PLAIN challenge."" } ''' we are beginning to see light in the tunnel 😀
Author
Owner

@Shadow243 commented on GitHub (Jul 28, 2024):

Ok, how about Sieve filters with other mail servers such as Cyrus?

We are now able to connect to sieve, we can now start tests.
Screenshot 2024-07-28 at 23 49 49

<!-- gh-comment-id:2254640410 --> @Shadow243 commented on GitHub (Jul 28, 2024): > Ok, how about Sieve filters with other mail servers such as Cyrus? We are now able to connect to sieve, we can now start tests. <img width="1207" alt="Screenshot 2024-07-28 at 23 49 49" src="https://github.com/user-attachments/assets/ef12822c-4ec6-47e7-97a1-4dacf8f28a38">
Author
Owner

@marclaporte commented on GitHub (Sep 28, 2024):

@Shadow243 @Yannick243 I look forward to your next step :-)

<!-- gh-comment-id:2380396410 --> @marclaporte commented on GitHub (Sep 28, 2024): @Shadow243 @Yannick243 I look forward to your next step :-)
Author
Owner

@Shadow243 commented on GitHub (Oct 22, 2024):

[FIX] Stalwart: fix jmap 0.7.0 msg_header keys(message-id,message_id) #944

https://github.com/cypht-org/cypht/pull/1296

<!-- gh-comment-id:2429846760 --> @Shadow243 commented on GitHub (Oct 22, 2024): > [FIX] Stalwart: fix jmap 0.7.0 msg_header keys(message-id,message_id) #944 https://github.com/cypht-org/cypht/pull/1296
Author
Owner

@Shadow243 commented on GitHub (Jan 4, 2025):

#1296

I will test everything again to ensure completeness. By reviewing it, we will identify and resolve any issues. Several additions have been made to IMAP, will need to make sure we are not leaving JMAP outdated.

<!-- gh-comment-id:2571416073 --> @Shadow243 commented on GitHub (Jan 4, 2025): > #1296 I will test everything again to ensure completeness. By reviewing it, we will identify and resolve any issues. Several additions have been made to IMAP, will need to make sure we are not leaving JMAP outdated.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#516
No description provided.