I have follow this howto https://www.howtoforge.com/replacing-amavisd-with-rspamd-in-ispconfig/ and I have installed successfully rspamd with valkey (https://valkey.io/topics/migration/) on Rocky Linux 10.1 and disable amavisd (not remove it) Seem all work fine. NOTE: I have use valkey because redis is dead because of License change (non OpenSource) and on RHEL 10.x there is removed (https://forums.almalinux.org/t/installation-redis-on-almalinux-10/6576/3). I have only some question: 1) When I enable DKIM the private key are stored into /var/lib/amavis/dkim/mydom.tld.private. if I wanted to completely remove amavisd from the server, and therefore also that folder, what should I do? 2) If i connect to https://myserver:8081/rspamd I see the Rspamd panel. Why I shoult enable a web redirect on 11334 local port? is another rspamd panel? Remain the postfix hash and btree type problem, that I need to fix how ispconfig modifies the postfix configuration files (see this issue: https://forum.howtoforge.com/thread...t-have-remove-hash-map-type-in-postfix.94897/)
You can remove amavisd, but you should keep that folder. There is just one rspamd panel. This is already fixed, you do not seem to use the latest ISPConfig version 3.3.1p1.
Thank for reply. In a new installation, if I do not install amavisd I must create this folder, or is it created by the ispconfig installation procedure? Ok, then in some case it's sufficient the standard ispconfig 8081 port access. Yes, I didn't realize an update came out. I have update now with 3.3.1p1 and postfix config is ok. Many Thanks
Another issue. In order to allow the clamd antivirus check, I had to change the following file in this way: Code: [root@s-ispc ~]# diff /etc/rspamd/local.d/antivirus.conf.orig /etc/rspamd/local.d/antivirus.conf 32c32 < servers = "/var/run/clamav/clamd.ctl"; --- > servers = "/var/spool/amavisd/clamd.sock"; otherwise I get this error into rspamd.log: Code: 2026-03-16 02:04:16 #190560(normal) rspamd_inet_address_connect: connect unix:/var/run/clamav/clamd.ctl failed: 2, 'File o directory non esistente' 2026-03-16 02:04:16 #190560(normal) <55cf70>; task; lua_tcp_make_connection: cannot connect to /var/run/clamav/clamd.ctl (/var/run/clamav/clamd.ctl): File o directory non esistente maybe it would be better to create another clamd configuration file specifically for rspamd? what is the best solution? Many thanks
And for this question, what is the best solution? Do I have to create a new configuration clamd+rspamd file and enable a new systemd service or can I safely modify /etc/rspamd/local.d/antivirus.conf without the ispconfig setup procedure modifying it again? Thanks for reply.
You can override any installer file to make your changes update-safe by creating your own custom file. Copy the config template file rspamd_antivirus.conf.master to the folder /usr/local/ispconfig/server/conf-custom/install/ and change it.
IMHO, I think that the value contained in the installation/update template is incorrect in any case. Code: [root@s-ispc ~]# grep ' servers =' /tmp/ispconfig3_install/install/tpl/rspamd_antivirus.conf.master servers = "/var/run/clamav/clamd.ctl"; As you say, I can change it for my installation and put it into conf-custom, but also all other users for your installations must change it, if decide to install and use rspamd without change [email protected] config. Furthermore the path into rspamd_antivirus.conf.master it is not indicated in any other configuration file Code: [root@s-ispc ~]# grep -r clamd.ctl /tmp/ispconfig3_install/ /tmp/ispconfig3_install/install/tpl/rspamd_antivirus.conf.master: servers = "/var/run/clamav/clamd.ctl"; Perhaps, IMHO, it would be better to release it already pointed towards the [email protected] socket.