Rspamd: binary replacement of SpamAssassin (TEMPLATES)

Version 1.56

Feature
Finished

BETA Early support for Rspamd, which is a compiled binary, so should have much better performance than SpamAssassin. https://rspamd.com It's a smtp-time process only, so you must be using EasySpamFighter to use rspamd. All existing SpamAssassin settings will remain, and be used as the config for the per-User rspamd settings. Specifically, the /home/username/.spamassassin/user_prefs file. =================== TEMPLATES new template: /usr/local/directadmin/data/templates/rspamd_settings.conf =================== CONFIGS When you save the SpamAssassin settings through DirectAdmin, the the per-User config is save at: /etc/rspamd/users.d/username.conf which is loaded from the included file, if it exists: /etc/rspamd/rspamd.conf.local which then loads in the this file, which holds the list of all User configs: /etc/rspamd/directadmin-users.conf where the list points to the users.d/username.conf. =================== CUSTOM OVERRIDE If you need to add other custom settings, the file you'd put that in would be: /etc/rspamd/rspamd.conf.local just be sure NOT to remove the directadmin-users.conf include. =================== REQUIREMENTS CentOS 7 (known to work, so far) =================== ENABLE cd /usr/local/directadmin/directadmin/custombuild ./build set spamd rspamd ./build rspamd Note that there is no directadmin.conf settings. DA will always grab the spamd value from the options.conf to know if it's on or off, to decide how to behave. =================== CUSTOM SCRIPTS Script that replace the spamassassin_*.sh counterparts, in the directory: /usr/local/directadmin/scripts/custom/* rspamd_edit_pre.sh rspamd_edit_post.sh rspamd_destroy_pre.sh

Interested to try DirectAdmin? Get a 30-day Free Trial!