Hi, I modified the config file /etc/rspamd/scores.d/mime_types_group.conf and would like to now, if these changes are persitent across reboots/updates. Thks. in advance for your time. BR Tilman
They are persistent across reboots. Reading the file you modified, it says at the beginning Code: # Please don't modify this file as your changes might be overwritten with # the next update. So changes may not be persistent across updates of rspamd. However, text in the file continues with: Code: # You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add # parameters defined on the top level
If you want to edit just the scoring for these symbols, simply set them in the rspamd webinterface in the tab "Symbols". This way the new settings get written to the dynamic map which persists reboots and rspamd upgrades. The file itself is located at "/var/lib/rspamd/rspamd_dynamic", howerver do not edit this file directly. Another option for mime_types is user settings and a custom symbol with your custom score.