[Rspamd-Users] Incorrect user rights

christian usenet at schani.com
Thu Feb 8 18:01:15 UTC 2024


If I switch off spamassasin or spamd, will rspamd still perform a Bayes 
check on the email content?

Christian

Am 08.02.2024 um 18:45 schrieb Gerald Galster:
>> 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