1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-05 00:27:25 +00:00
mailinabox/management
downtownallday 1f0d2ddb92 Issue #1340 - LDAP backend for accounts
This commit will:

1. Change the user account database from sqlite to OpenLDAP
2. Add policyd-spf to postfix for SPF validation
3. Add a test runner with some automated test suites

Notes:

User account password hashes are preserved.

There is a new Roundcube contact list called "Directory" that lists the users in LDAP (MiaB users), similar to what Google Suite does.

Users can still change their password in Roundcube.

OpenLDAP is configured with TLS, but all remote access is blocked by firewall rules. Manual changes are required to open it for remote access (eg. "ufw allow proto tcp from <HOST> to any port ldaps").

The test runner is started by executing tests/runner.sh. Be aware that it will make changes to your system, including adding new users, domains, mailboxes, start/stop services, etc. It is highly unadvised to run it on a production system!

The LDAP schema that supports mail delivery with postfix and dovecot is located in conf/postfix.schema. This file is copied verbatim from the LdapAdmin project (GPL, ldapadmin.org). Instead of including the file in git, it could be referenced by URL and downloaded by the setup script if GPL is an issue or apply for a PEN from IANA.

Mangement console and other services should not appear or behave any differently than before.
2020-01-17 17:03:21 -05:00
..
templates Sort custom dns table based on fqdn, rtype, and value (#1651) 2019-10-28 06:29:40 -04:00
auth.py Issue #1340 - LDAP backend for accounts 2020-01-17 17:03:21 -05:00
backend.py Issue #1340 - LDAP backend for accounts 2020-01-17 17:03:21 -05:00
backup.py Issue #1340 - LDAP backend for accounts 2020-01-17 17:03:21 -05:00
csr_country_codes.tsv drop the CSR_COUNTRY setting and ask within the control panel 2015-12-26 11:48:23 -05:00
daemon.py remove user account mailbox size from the control panel because it takes way too long to compute on very large mailboxes 2018-12-02 18:02:00 -05:00
daily_tasks.sh Change SSL notification email subject (#1653) 2019-11-02 15:29:05 -04:00
dns_update.py Issue #1340 - LDAP backend for accounts 2020-01-17 17:03:21 -05:00
email_administrator.py send the mail_log.py report to the box admin every Monday 2018-02-25 11:55:06 -05:00
mail_log.py Issue #1340 - LDAP backend for accounts 2020-01-17 17:03:21 -05:00
mailconfig.py Issue #1340 - LDAP backend for accounts 2020-01-17 17:03:21 -05:00
munin_start.sh update bind9 configuration 2018-10-03 14:28:43 -04:00
ssl_certificates.py Issue #1340 - LDAP backend for accounts 2020-01-17 17:03:21 -05:00
status_checks.py Issue #1340 - LDAP backend for accounts 2020-01-17 17:03:21 -05:00
utils.py Issue #1340 - LDAP backend for accounts 2020-01-17 17:03:21 -05:00
web_update.py Issue #1340 - LDAP backend for accounts 2020-01-17 17:03:21 -05:00