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

1.2 KiB

role docker-mailu

setup

delete data

To delete all volumes and data execute:

  rm -vr /etc/mailu/; docker volume rm $(docker volume ls -q | grep mailu_)

Be careful!

ports

Keep in mind to change the conflicting ports manual. Execute

  netstat -tulpn

to verify that there aren't port conflicts

admin account

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:

  docker-compose -p mailu exec admin flask mailu admin {{admin}} {{hostname}} PASSWORD

cli user management

How to manage users is described here: https://mailu.io/master/cli.html

Up

  docker-compose -p mailu up -d

todo

See