"Filter messages like this" rules get overwritten by newer rules #76

Closed
opened 2026-08-26 21:36:30 +00:00 by bitbln · 2 comments
bitbln commented 2026-08-26 21:36:30 +00:00

In a message when using "Filter messages like this" to add a rule (for example to move messages from [email protected] to INBOX/Newsletters) confirms having added the rule with a green window. However, when viewing the Filter rules in Settings, the behaviour is not fully consistent:

  • sometimes it is possible to see the last added rule
  • sometimes previously added rules are shown, but not the last one
  • consistently the number of rules shown is never more than 2.

Checking directly on Stalwart confirm that indeed there are only two rules in the script.

Browser: Firefox 154 Win 11 / Vivaldi 7.8.3925.66 Win 11

Stalwart version: 0.16.19

Deployment with coolify / github repository /docker-compose.yml

Rebuilt from: notification email, session transcript.

In a message when using "Filter messages like this" to add a rule (for example to move messages from [email protected] to INBOX/Newsletters) confirms having added the rule with a green window. However, when viewing the Filter rules in Settings, the behaviour is not fully consistent: * sometimes it is possible to see the last added rule * sometimes previously added rules are shown, but not the last one * consistently the number of rules shown is never more than 2. Checking directly on Stalwart confirm that indeed there are only two rules in the script. Browser: Firefox 154 Win 11 / Vivaldi 7.8.3925.66 Win 11 Stalwart version: 0.16.19 Deployment with coolify / github repository /docker-compose.yml <sub>Rebuilt from: notification email, session transcript.</sub>
bitbln commented 2026-08-26 21:55:11 +00:00

I did indeed fork, 1-2 days ago. I have updated and will test again. I will also make sure to test the latest version each time.

I did indeed fork, 1-2 days ago. I have updated and will test again. I will also make sure to test the latest version each time.
bitbln commented 2026-08-30 10:08:51 +00:00

Hi!
First of all thanks for the very quick reply!
I am using ihasmail as my main email client (privately) for the most part.

To check eveything I resynched my fork, removed all caches (build / browser). Then I also deleted the existing sieve file from stalwart to start with a clean slate. I checked from ihasmail and it confirmed there were no rules and no file. After adding the first rule, it was indeed there, and the file correctly showed it too. Same for the second rule.
Once the third rule was added, then the interface no longer shows the rules. I can ee the rules in stalwart in the file, all 3 of them. I can also see in ihasmail there is a file, but when opening it it is shown at least as everything in one line.

I see the file being uploaded and then a blob downloaded twice. I base64 decoded the blob and it only contained the first line.

Here are some screenshots of the whole thing, hopefully they help.

Image Image Image Image Image Image
Hi! First of all thanks for the very quick reply! I am using ihasmail as my main email client (privately) for the most part. To check eveything I resynched my fork, removed all caches (build / browser). Then I also deleted the existing sieve file from stalwart to start with a clean slate. I checked from ihasmail and it confirmed there were no rules and no file. After adding the first rule, it was indeed there, and the file correctly showed it too. Same for the second rule. Once the third rule was added, then the interface no longer shows the rules. I can ee the rules in stalwart in the file, all 3 of them. I can also see in ihasmail there is a file, but when opening it it is shown at least as everything in one line. I see the file being uploaded and then a blob downloaded twice. I base64 decoded the blob and it only contained the first line. Here are some screenshots of the whole thing, hopefully they help. <img width="1628" height="230" alt="Image" src="https://github.com/user-attachments/assets/8c09a3cf-bf95-42cf-9651-7df7dcd3e942" /> <img width="1965" height="835" alt="Image" src="https://github.com/user-attachments/assets/649a198e-9b71-4f10-8d25-9574652d2c1a" /> <img width="1043" height="766" alt="Image" src="https://github.com/user-attachments/assets/8d4735ca-a6b6-471a-84e4-e11ab48752db" /> <img width="1040" height="531" alt="Image" src="https://github.com/user-attachments/assets/99c8ebdc-f118-4e9e-b9f6-16581a2831ce" /> <img width="1058" height="445" alt="Image" src="https://github.com/user-attachments/assets/135b8962-dd26-48ee-8eeb-ba1b7ccfd22c" /> <img width="1110" height="952" alt="Image" src="https://github.com/user-attachments/assets/139d8f17-7304-4bc9-81eb-32aca268a0b4" />
This repo is archived. You cannot comment on issues.