These are some guides for various use.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
1.2 KiB

  1. # Docker-mailserver
  2. This is a dockerized version of a mail server.
  3. The official container and documentation was made by [tvial](https://hub.docker.com/r/tvial/docker-mailserver).
  4. ## Configuration
  5. The configuration is done automatically using scripts by tvial.
  6. First you need to download the essential setup files.
  7. ```
  8. curl -o setup.sh https://raw.githubusercontent.com/tomav/docker-mailserver/master/setup.sh; chmod a+x ./setup.sh
  9. curl -o docker-compose.yml https://raw.githubusercontent.com/tomav/docker-mailserver/master/docker-compose.yml.dist
  10. curl -o .env https://raw.githubusercontent.com/tomav/docker-mailserver/master/.env.dist
  11. curl -o env-mailserver https://raw.githubusercontent.com/tomav/docker-mailserver/master/env-mailserver.dist
  12. ```
  13. After that you need to edit the ```.env``` and the ```env-mailserver``` files to configure the mailserver.
  14. You then need to start the container with the ```rebuild.sh``` and add email accounts using the following command.
  15. ```./setup.sh email add <user@domain> (<password>)```
  16. And finally generate the DCIM keys and rebuild once again.
  17. ```./setup.sh config dkim```
  18. Afterwards you're ready to go by once again running the ```rebuild.sh``` file.