capote
(Marko)
1
NethServer Version: 7.9
Module: E-MAil
After adding a domain to the blacklist rspamd reports “…permission denied”
# ll
total 36
-r--r----- 1 _rspamd _rspamd 31 Apr 3 10:52 dkim_whitelist.inc.local
-r--r----- 1 _rspamd _rspamd 32 Apr 3 10:52 dmarc_whitelist.inc.local
-r--r----- 1 _rspamd _rspamd 37 Apr 3 10:52 greylist-whitelist-domains.inc
-r--r----- 1 _rspamd _rspamd 14 Apr 3 10:52 mid.inc
-r--r----- 1 _rspamd _rspamd 27 Apr 3 10:52 mime_types.inc.local
-r--r----- 1 _rspamd _rspamd 22 Apr 3 10:52 redirectors.inc
-r--r----- 1 _rspamd _rspamd 35 Apr 3 10:52 spf_dkim_whitelist.inc.local
-r--r----- 1 _rspamd _rspamd 30 Apr 3 10:52 spf_whitelist.inc.local
-r--r----- 1 _rspamd _rspamd 32 Apr 3 10:52 surbl-whitelist.inc.local
It seems to wrong.
What are the correct permissions?
Should I change them via chmod?
Regards, Marko
MrE
(Enrique D)
2
I don’t have a solution; but I see the same permissions and timestamps on those files

And I added a lot of addresses and domains:

Maybe restarting the service?
signal-event nethserver-mail-filter-update
From time to time I have had to restart it; especially when I add TLD entries in
/etc/rspamd/blacklist_from_tld.map
I think I’ve restarted it at some critical point that knocks it out and I have to restart it again.
Regards
capote
(Marko)
3
Thank you for the idea.
But the error remains.
capote
(Marko)
4
I changed permissions by chmod 755
- the error remains.
Now I change back to 440
dnutan
(Marc)
5
Maybe this or similar?
chmod 755 /etc/rspamd/local.d/maps.d/
systemctl restart rspamd
capote
(Marko)
7
Unfortunately, the problem still exists.