Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - fan2bsd

#1
Hi, when I want to apply a change to the RSPAMD settings and press the "Apply" button, the following message pops up.

error generating template OPNsense/Rspamd : Traceback (most recent call last): File "/usr/local/opnsense/service/modules/template.py", line 328, in generate for filename in self._generate(template_name, create_directory): File "/usr/local/opnsense/service/modules/template.py", line 273, in _generate f_out = codecs.open(filename, 'wb', encoding="utf-8") File "/usr/local/lib/python3.9/codecs.py", line 905, in open file = builtins.open(filename, mode, buffering) PermissionError: [Errno 1] Operation not permitted: '//usr/local/etc/rspamd/local.d/dkim_signing.conf'

The permissions of the /usr/local/etc/rspamd/local.d/dkim_signing.conf file is -r--r--r-- and cannot be changed (operation not allowed). Other files in the directory have the permission -rw-r--r--r--.
#2
23.7 Legacy Series / nginx naxsi - whitelist
August 09, 2023, 11:44:41 AM
Hello,

I would like advice on how to add the result from the learning mod to the whitelist.

I tried putting the log output into nxutil (installed on my PC). I copied the recommended output values from nxutil to /usr/local/etc/nginx.conf in the OPNSense box. After restarting the NGINX service (from the command line) everything was fine and ngxinx respected the entered values. But if I used the "Apply" button in NGINX configuration, the values added by me in nginx.conf are lost.

Is there any way to correctly enter the values from the learning mode into the whitelist? Is there a development plan to automate learning mode with the addition of whitelist rules?