[Rspamd-Users] Incorrect user rights
Gerald Galster
list+rspamd at gcore.biz
Thu Feb 8 17:45:11 UTC 2024
> I'm currently having the problem that rspamd and spamd spaassassin, which are integrated via the milter, cannot store bayes files.
>
>
> 2024-02-08T16:39:11.070520+01:00 wwl10 spamd[227936]: spamd: creating default_prefs: /root/.spamassassin/user_prefs
> 2024-02-08T16:39:11.070572+01:00 wwl10 spamd[227936]: spamd: failed to create readable default_prefs: /root/.spamassassin/user_prefs
From a security perspective you do not want any software to process unchecked data received from the internet as root.
> RspamD uses _rspamd
> and I set spamd to _rspamd
>
> _rspamd 302408 0.8 0.4 331364 318660 ? S 16:40 0:02 spamd child
> _rspamd 302409 0.0 0.4 324864 309100 ? S 16:40 0:00 spamd child
>
> But it looks like I can't make the directory persist to /root/.spamassassin.
> Where can I change the path?
>
> I can't find a spamd.conf file
Rspamd and SpamAssassin (spamd) are separate programs and are not related.
You might want to check SpamAssassin docs/mailinglists at https://spamassassin.apache.org/.
For running SpamAssassin it might also be a better option to go with amavisd-new: https://www.ijs.si/software/amavisd/
For migrating to rspamd it is possible to integrate SpamAssassin rules:
https://rspamd.com/doc/modules/spamassassin.html
Best regards,
Gerald
More information about the Users
mailing list