1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-04 00:17:06 +00:00
mailinabox/setup
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
..
bootstrap.sh v0.43 2019-09-01 07:43:47 -04:00
dkim.sh OpenDKIM canonicalization changed to relaxed for mail headers (#1620) 2019-12-01 16:24:38 -05:00
dns.sh Add a logfile entry to the NSD conf file (#1434) 2018-12-02 18:00:16 -05:00
firstuser.sh bash strict mode fixes (#1482) 2018-12-13 20:30:05 -05:00
functions-ldap.sh Issue #1340 - LDAP backend for accounts 2020-01-17 17:03:21 -05:00
functions.sh Issue #1340 - LDAP backend for accounts 2020-01-17 17:03:21 -05:00
ldap.sh Issue #1340 - LDAP backend for accounts 2020-01-17 17:03:21 -05:00
mail-dovecot.sh Issue #1340 - LDAP backend for accounts 2020-01-17 17:03:21 -05:00
mail-postfix.sh Issue #1340 - LDAP backend for accounts 2020-01-17 17:03:21 -05:00
mail-users.sh Issue #1340 - LDAP backend for accounts 2020-01-17 17:03:21 -05:00
management.sh Issue #1340 - LDAP backend for accounts 2020-01-17 17:03:21 -05:00
migrate.py Issue #1340 - LDAP backend for accounts 2020-01-17 17:03:21 -05:00
migration_13.py Issue #1340 - LDAP backend for accounts 2020-01-17 17:03:21 -05:00
munin.sh Fix upgrade issue broken by 802e7a1f4d 2019-12-01 17:44:12 -05:00
network-checks.sh prevent apt from asking the user any questions 2015-02-13 13:41:52 +00:00
nextcloud.sh Fix typo in InstallNextcloud calls (#1693) 2019-12-10 19:01:09 -05:00
preflight.sh RAM limit to 502Mb to meet EC2 & Vultr 512Mb inst. (#1560) 2019-04-14 16:33:50 -04:00
questions.sh Issue #1340 - LDAP backend for accounts 2020-01-17 17:03:21 -05:00
spamassassin.sh Fixed multiple commented add_header entries in /etc/spamassassin/local.cf (#1641) 2019-12-01 16:23:02 -05:00
ssl.sh Issue #1340 - LDAP backend for accounts 2020-01-17 17:03:21 -05:00
start.sh Issue #1340 - LDAP backend for accounts 2020-01-17 17:03:21 -05:00
system.sh install openssh-client which provides ssh-keygen and is not present on desktop Ubuntu by default 2019-12-12 11:27:39 -05:00
web.sh Upgrade TLS settings 2019-12-01 17:49:36 -05:00
webmail.sh Issue #1340 - LDAP backend for accounts 2020-01-17 17:03:21 -05:00
zpush.sh Update zpush to 2.5.1 (#1654) 2019-10-28 06:27:54 -04:00