computer-playbook/roles/docker-mailu/Readme.md

48 lines
1.2 KiB
Markdown
Raw Normal View History

2020-12-27 13:22:47 +01:00
# role docker-mailu
2020-12-27 19:41:35 +01:00
## setup
2020-12-27 21:30:44 +01:00
2020-12-28 21:24:32 +01:00
### delete data
2020-12-28 19:09:20 +01:00
To delete all volumes and data execute:
2020-12-27 21:30:44 +01:00
```bash
2020-12-28 21:24:32 +01:00
rm -vr /etc/mailu/; docker volume rm $(docker volume ls -q | grep mailu_)
2020-12-27 21:30:44 +01:00
```
Be careful!
2020-12-27 19:41:35 +01:00
### ports
2020-12-27 13:22:47 +01:00
Keep in mind to change the conflicting ports manual.
Execute
```bash
netstat -tulpn
```
2020-12-27 16:16:12 +01:00
2020-12-27 13:22:47 +01:00
to verify that there aren't port conflicts
2020-12-27 19:41:35 +01:00
### admin account
2020-12-27 16:16:12 +01:00
Before you can use Mailu, you must create the primary administrator user account. This should be admin@{{hostname}}. Use the following command, changing PASSWORD to your liking:
```bash
2020-12-28 21:24:32 +01:00
docker-compose -p mailu exec admin flask mailu admin {{admin}} {{hostname}} PASSWORD
2020-12-27 16:16:12 +01:00
```
2020-12-28 21:24:32 +01:00
### cli user management
2020-12-28 16:41:01 +01:00
How to manage users is described here: https://mailu.io/master/cli.html
2020-12-27 19:41:35 +01:00
### Up
```bash
docker-compose -p mailu up -d
```
2020-12-28 16:41:01 +01:00
## todo
- https://blog.kuepper.nrw/2019/03/30/roundcube-webmail-mit-zwei-faktor-authentifizierung/
- https://mailu.io/master/faq.html#i-want-to-integrate-nextcloud-15-and-newer-with-mailu
- https://docs.nextcloud.com/server/9.0/admin_manual/configuration_user/user_auth_ftp_smb_imap.html
2020-12-27 13:22:47 +01:00
## See
- https://gist.github.com/marienfressinaud/f284a59b18aad395eb0de2d22836ae6b
- https://mailu.io/1.7/compose/setup.html