docker-mailserver/docs/content/setup-docker-mailserver-using-the-script-setup.sh.md

39 lines
996 B
Markdown
Raw Normal View History

2016-08-29 19:51:09 +00:00
The latest version of the script `setup.sh` is included in the `docker-mailserver` repository. Get the last version to the script by copying this command in your console:
```
wget -q -O setup.sh https://raw.githubusercontent.com/tomav/docker-mailserver/master/setup.sh; chmod a+x ./setup.sh
```
Run `./setup.sh` without arguments and you get some usage informations.
```
2016-12-03 00:11:25 +00:00
Usage: ./setup.sh [-i IMAGE_NAME] [-c CONTAINER_NAME] <subcommand> <subcommand> [args]
OPTIONS:
-i IMAGE_NAME The name of the docker-mailserver image, by default
'tvial/docker-mailserver:latest'.
-c CONTAINER_NAME The name of the running container.
2016-08-29 19:51:09 +00:00
SUBCOMMANDS:
email:
./setup.sh email add <email> <password>
./setup.sh email del <email>
./setup.sh email list
config:
./setup.sh config dkim
./setup.sh config ssl
debug:
./setup.sh debug fetchmail
2016-12-03 00:11:25 +00:00
./setup.sh debug show-mail-logs
./setup.sh debug inspect
./setup.sh debug login <commands>
2016-08-29 19:51:09 +00:00
```