1

Topic: Why /opt/iredapd/libs/default_settings.py is Read ONly

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.7.1 OPENLDAP edition
- Deployed with iRedMail Easy or the downloadable installer? downloadable
- Linux/BSD distribution name and version: Debian 12
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
====

I want to relax some greylisting parameters, the i look to https://docs.iredmail.org/manage.iredap … reylisting

But when I want to edit /opt/iredapd/libs/default_settings.py : it was set to read-only mode.
I don't found any other way to edit it (via python3 /opt/iredapd/tools/greylisting_admin.py).

Why set it as read only if manual advice to edit it ?

Thank you

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Why /opt/iredapd/libs/default_settings.py is Read ONly

So, what prohibits you from editing? just use root account

3

Re: Why /opt/iredapd/libs/default_settings.py is Read ONly

You should not modify /opt/iredapd/libs/default_settings.py, because it stores default settings.
Please add your custom settings to /opt/iredapd/settings.py to override the ones in /opt/iredapd/libs/default_settings.py.