Working on rspamd default configuration

Just starting here by writing down a few things and notes

What could be our goals for Yunohost default config :


Absolutely needed

  • Rspamd 2.7.1
  • Spam detection when receiving
  • Detected spams sent to “Junk” folder
  • Learning from user actions (Spam → Inbox or Inbox → Spam)
  • Initial learning from existing email database

Nice to have

  • Rspamd 3.2
  • Web interface
  • Redis configuration to get faster
  • Spam detection when sending
  • Autoexpunge Junk folder
  • Fuzzy feeds from Rspamd (enabled by default but if I carefully read the policy, we should talk to Rspamd team before enabling them by default within an open source project such as Yunohost)

To be discussed

Mileage vary and all Yunohost users may not have the same use.
We should try to fine tune the Rspamd config to be as “universal” as we can.
The two main set of values to be defined are :

  1. /etc/rspamd/actions.conf that defines the score thresholds for an email to get rejected, greylisted or accepted
    • Type of questions to ask to ourselves : do we set a reject value so that no email get ever rejected ? Do we allow greylisting which is useful but sometimes confusing for users (why is that email from my friend still not arrived ?)…
  2. Values defining the weight of each spam detection module into the final score (however, we may decide to keep this as the by default value)

Notes and tutorials


Workaround tutorial has been updated for Bullseye

My original tutorial for Yunohost

1 Like