5
The entire system configuration is available through the REST API. You can
6
get a list of all defined sections.
8
>>> dump_json('http://localhost:9001/3.0/system/configuration')
10
sections: ['antispam', 'archiver.mail_archive', 'archiver.master', ...
12
You can also get all the values for a particular section.
14
>>> dump_json('http://localhost:9001/3.0/system/configuration/mailman')
16
email_commands_max_lines: 10
17
filtered_messages_are_preservable: no
20
noreply_address: noreply
21
pending_request_life: 3d
24
sender_headers: from from_ reply-to sender
25
site_owner: noreply@example.com
27
Dotted section names work too, for example, to get the French language
30
>>> dump_json('http://localhost:9001/3.0/system/configuration/language.fr')