Closed flo1212 closed 1 week ago
The problem could be reproduced on a test server. The user has with this Sieve Editor https://software.manjaro.org/package/pim-sieve-editor uploaded a rules file. A section of the rule file then creates an additional file USER.sieve when uploading. This file is responsible for the crash.
This area creates the USER.sieve within the rules file
##################
if anyof (address :regex ["to", "cc"] "status.@yyy\.net", address :regex ["to", "cc"] "status.@xxx\.com" ) { if not body :contains "ERROR: Non-zero exit code!" { addflag "\Seen"; addflag "$label3"; } else { addflag "$label1"; }
fileinto :create "INBOX/status";
}
##################
But the real bug is that every user can crash the dovecot container if such or other incompatible Sieve scripts are created. Mailcow must be able to catch this problem!
Seconding this, this happens quite literally every day randomly for us.
This also happens to me, the container does not restart even with the restart always flag. We have not changed any Sieve scripts.
Contribution guidelines
I've found a bug and checked that ...
Description
Logs:
Steps to reproduce:
Which branch are you using?
master
Operating System:
Debian 11
Server/VM specifications:
32 GB RAM, 8 Cores
Is Apparmor, SELinux or similar active?
no
Virtualization technology:
KVM
Docker version:
24.0.2
docker-compose version or docker compose version:
v2.7.0
mailcow version:
2023-05a
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: