I have a debian server(latest updates) and I also followed the guide on replacing amavis with rspamd. No DKIM is used thought.. Take a lookon the output of the commands Code: root@server1:/etc/rspamd# ls /var/lib/rspamd/dkim/ ls: cannot access '/var/lib/rspamd/dkim/': No such file or directory root@server1:/etc/rspamd# cat /etc/rspamd/local.d/dkim_selectors.map root@server1:/etc/rspamd# cat /etc/rspamd/local.d/dkim_domains.map root@server1:/etc/rspamd# ls -la /var/lib/amavis/dkim/ total 8 drwxr-x--- 2 amavis amavis 4096 Jan 22 2021 . drwxr-x--- 7 amavis amavis 4096 Mar 16 08:30 .. Any thoughts?
Neither does my server with working Rspamd and DKIM have this directory: Code: /var/lib/rspamd/dkim/ Have you set up DKIM for an e-mail domain?
ISPConfig Panel | E-mail tab | Email Accounts | Domain | Choose a domain | Press "Domainkeys identified mail (DKIM)" , "Enable DKIM", "Generate DKIM Private key". If your DNS is handled by ISPCOnfig, the keys are copied to name service automatically. If DNS is somewhere else, you must copy the keys yourself. There are discussion on this forum about this. ISPConfig has manual: https://www.ispconfig.org/documentation/
Try editing a mail domain and save again (maybe disable dkim then enable again) and see if it works for that one domain.