You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... I understand that not following the below instructions will result in immediate closure and/or deletion of my issue.
... I have understood that this bug report is dedicated for bugs, and not for support-related inquiries.
... I have understood that answers are voluntary and community-driven, and not commercial support.
... I have verified that my issue has not been already answered in the past. I also checked previous issues.
Description
After updating from 2024-08a to 2024-11a, Rspamd regex maps are not consistently being honored anymore. After restarting the container, it sometimes works for a few minutes, but about 10 minutes later, it stops working again.
Downgrading the container mailcow/rspamd to 1.97 (the previous version) resolves the issue as it goes back to honoring regex maps.
I’ve tested this on two separate mailcow servers. The second server didn’t require a time delay, it just wouldn’t honor the regex maps at all.
Logs:
I didn’t see any errors in the rspamd logs but I can provide whatever logs are necessary. Just let me know.
Steps to reproduce:
1. Add domain to Header-From: Whitelist (global_mime_from_whitelist.map)
2. Restart Rspamd to enforce map reload
3. Send message to test if whitelist works
4. If it works, wait 10 minutes and try again
5. It no longer works.
6. Downgrade mailcow/rspamd to 1.97
7. It starts to work again.
I cannot confirm that. even after hours my regex filters still work.
Maybe you have broken regex syntax?
Interesting. I just double checked with a regex tester and it matched as expected. This is the format I'm using /.+example\.com/i and then sending an email to the server from [email protected].
For me with mailcow/rspamd:1.98, it sometimes works, but always goes back to not working.
If I add this to docker-compose.override.yml
services:
rspamd-mailcow:
image: mailcow/rspamd:1.97
pull, docker compose down, and docker compose up -d, it goes back to working all the time. So no changes to the regex are being made on my end between the versions.
Here's an image from the rspamd UI showing some test messages with the rspamd verison annotated.
It's coming from the same email server and address each time, but sometimes it's not getting the Header-From: Whitelist score.
Is there anything I should test that might yield more information/be helpful?
Contribution guidelines
I've found a bug and checked that ...
Description
Logs:
Steps to reproduce:
Which branch are you using?
master
Which architecture are you using?
x86
Operating System:
Ubuntu 22.04 LTS
Server/VM specifications:
16 GB, 12 cores
Is Apparmor, SELinux or similar active?
No
Virtualization technology:
QEMU
Docker version:
27.3.1
docker-compose version or docker compose version:
Docker Compose version v2.29.7
mailcow version:
2024-11a
Reverse proxy:
Nginx
Logs of git diff:
Logs of iptables -L -vn:
Logs of ip6tables -L -vn:
Logs of iptables -L -vn -t nat:
Logs of ip6tables -L -vn -t nat:
DNS check:
The text was updated successfully, but these errors were encountered: