You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a large amount of lists and recently the address of our LDAP server changed. So we needed to change this setting in each list config. We wrote a small script that simply replaced the string in each list config file, restarted Sympa and it worked. But we wondered about three things:
Do you have to rotate the config files and have to update the update paragraph? If not, is there a downside in not doing so?
Is there a more convenient way to do it, like a special CLI offered by Sympa? Changing the address of an LDAP server was a simple replacement, but what about replacing whole deprecated paragraphs with new settings based on the deprecated ones? Definitely doable with scripting, but quite complex.
The text was updated successfully, but these errors were encountered:
When a config file of each list is changed, it is reloaded automatically (sympa.conf and robot.conf aren't: When these files are changed, you have to restart the services).
Logically, a process could read config file while it is being rewritten with the changes. To avoid this, the following operation is recommended:
Do you have to rotate the config files and have to update the update paragraph? If not, is there a downside in not doing so?
Currently, rotated files and update paragraph are never used by Sympa (Sympa determines updates of config file by timestamp of it). They are only for convenience of human.
Conversely, without these, it is impossible to know what the settings were before the change and when the settings were changed.
Is there a more convenient way to do it, like a special CLI offered by Sympa? Changing the address of an LDAP server was a simple replacement, but what about replacing whole deprecated paragraphs with new settings based on the deprecated ones? Definitely doable with scripting, but quite complex.
Unfortunately, currently there is no CLI yet to update the config file for each list. But it sounds a promising idea for me.
Version
Sympa 6,2.60 via Debian 11 repository
Question
We have a large amount of lists and recently the address of our LDAP server changed. So we needed to change this setting in each list config. We wrote a small script that simply replaced the string in each list config file, restarted Sympa and it worked. But we wondered about three things:
update
paragraph? If not, is there a downside in not doing so?The text was updated successfully, but these errors were encountered: