Docker Mail Server Notes

1. User Management

1.1. Accounts

  • To add accounts this has to be done on the server that hosts the docker container

    Use the docker exec command
    sudo docker exec -it <CONTAINER NAME> setup email add <NEW ADDRESS>
    Example
    sudo docker exec -it Mail-DMS setup email add dhante@dhante.com

1.2. List Accounts

  • To list accounts this has to be done on the server that hosts the docker container

    Use the docker exec command
    sudo docker exec -it <CONTAINER NAME> setup email list
    Example
    sudo docker exec -it Mail-DMS setup email list