André
André
We include it of course. It wouldn't work if we didn't. You are only checking the filename, aren't you? Check the content.
Can you post logs of `docker-compose logs --tail=1 -f php-fpm-mailcow rspamd-mailcow nginx-mailcow` after setting `level = "info";` in rspamd-mailcow (and restarting it afterwards)?
Well, it works correctly in all cases. See your sieve logs above: ``` mailcowdockerized-dovecot-mailcow-1 | Jul 11 20:54:13 6d925c0097ee dovecot: lmtp([email protected]): sieve: msgid=: discard action: Marked message to be discarded...
The fix would be to replace... ``` table = iptc.Table('nat') table.refresh() chain = iptc.Chain(table, 'POSTROUTING') table.autocommit = False if get_snat4_rule() not in chain.rules: log['time'] = int(round(time.time())) log['priority'] = 'info' log['message']...
Hmm, that would add the rule even when the first SNAT rule is not ours. I mean, we will insert it (on top), so the loop would always be okay....
We could also loop with if bla1 == bla2 instead of bla1 != bla2 and break the loop if it matches. Then we should check the position of the rule...
Test with `log['message'] = 'Added POSTROUTING SNAT rule to source ' + snat_target`, please. "snat_target" should also be source actually. :) I would also like to discuss my proposed changes...
You don't have a db dump anymore, right? Or any other mail with that problem currently in your quarantine?
 Dunno, the mails seem to have encoding problems in general. :/
Please give me more time for this. I think the mail encoding is a bit messed up, but I'm not sure yet... The subject seems to be read as UTF-8...