Did some extra tinkering with rspamd on an Enhance server. Some stuff I found out:
1) Why is Enhance not using the official repo so we can be on the latest version available? Did this myself and not seeing any problems so far.
2) You need to disable dkim signing in rspamd. Enhance uses opendkim. For every outgoing mail there is a line in the logs about rspamd not being able to open the signing key (what is normal because opendkim is doing the signing). Creating a simple file /etc/rspamd/local.d/dkim_signing.conf with enabled = false; in it solves this.
3) Every mailbox has a 'Spam settings' section in Enhance. There are default settings in there rspamd is not using at the moment. They only get used when a user changes one of the settings and the panel saves them.
Default values in Enhance are: Spambox = 4; Reject = 8; Greylist = 6
But like said before, rspamd does not use these unless the user changes one first (it is enough to move one up and down to trigger the saving).
So by default rspamd will use his own defaults: Spambox = 6; Reject = 15; Greylist = 4
An easy solution would be for Enhance to set their own defaults with a config file so the displayed values in the panel are used from the start, a better solution would be to make these default settings editable in the Email section from a servers settings and let Enhance show these as defaults for every mailbox on that server.
4) More general question: why are all filters still so 'nice' for emails that are not following spf and dmarc settings? I tested spoofing from my own domain to my own server. I have spf and dmarc configured strict (spf ends with '-all', dmarc policy = reject on fail), because only my server is allowed to send emails from my domain.
But when I let another server send emails with my domain as sender you can see dmarc and spf failing but only adding 0.2 to the spamscore.. I mean, I confiure my spf and dmarc to reject so I would expect other servers to actually reject when emails get send from an unknown server.. To solve this I changed the error scores for these to 20 so my server reject this kind of mails in the future.