2785bca1f4
883: Admin create user enhancement r=mergify[bot] a=cr1st1p ## What type of PR? Enhancement ## What does this PR do? It allows the admin docker image to also create the admin user. The idea is that in my kubernetes setup, I do not want to manually do anything, as such, I need a way for the admin user to also be created automatically without me getting inside the pod. So I had to change the manage.py function that creates the user to allow different 'modes' (me, I'll be using 'ifmissing') and also start.py to call that functionality if appropriate environment variables are present. So now, in my Deployment, I add 3 more environment variables and I get the admin user created, IF not already present. ### Related issue(s) none? ## Prerequistes Before we can consider review and merge, please make sure the following list is done and checked. If an entry in not applicable, you can check it or remove it from the list. - [x] In case of feature or enhancement: documentation updated accordingly - [x] Unless it's docs or a minor change: place entry in the [changelog](CHANGELOG.md), under the latest un-released version. Co-authored-by: cristi <cristi.posoiu@gmail.com> Co-authored-by: cr1st1p <cristi.posoiu@gmail.com> Co-authored-by: Tim Möhlmann <muhlemmer@gmail.com> |
5 years ago | |
---|---|---|
core | 5 years ago | |
docs | 5 years ago | |
optional | 5 years ago | |
services | 5 years ago | |
setup | 5 years ago | |
tests | 5 years ago | |
towncrier | 5 years ago | |
webmails | 5 years ago | |
.gitignore | 7 years ago | |
.mergify.yml | 5 years ago | |
.travis.yml | 5 years ago | |
AUTHORS.md | 6 years ago | |
CHANGELOG.md | 5 years ago | |
CODE_OF_CONDUCT.md | 7 years ago | |
CONTRIBUTING.md | 6 years ago | |
LICENSE.md | 8 years ago | |
PULL_REQUEST_TEMPLATE.md | 6 years ago | |
README.md | 6 years ago | |
bors.toml | 6 years ago | |
pyproject.toml | 6 years ago |
README.md
Mailu is a simple yet full-featured mail server as a set of Docker images. It is free software (both as in free beer and as in free speech), open to suggestions and external contributions. The project aims at providing people with an easily setup, easily maintained and full-featured mail server while not shipping proprietary software nor unrelated features often found in popular groupware.
Most of the documentation is available on our Website, you can also try our demo server before setting up your own, and come talk to us on Matrix.
Features
Main features include:
- Standard email server, IMAP and IMAP+, SMTP and Submission
- Advanced email features, aliases, domain aliases, custom routing
- Web access, multiple Webmails and administration interface
- User features, aliases, auto-reply, auto-forward, fetched accounts
- Admin features, global admins, announcements, per-domain delegation, quotas
- Security, enforced TLS, Letsencrypt!, outgoing DKIM, anti-virus scanner
- Antispam, auto-learn, greylisting, DMARC and SPF
- Freedom, all FOSS components, no tracker included
Contributing
Mailu is free software, open to suggestions and contributions. All components are free software and compatible with the MIT license. All specific configuration files, Dockerfiles and code are placed under the MIT license.