2016-08-29 21:51:09 +02: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
```
2017-03-17 23:34:05 +01:00
if you use curl:
```
curl -o setup.sh https://raw.githubusercontent.com/tomav/docker-mailserver/master/setup.sh; chmod a+x ./setup.sh
```
2016-08-29 21:51:09 +02:00
Run `./setup.sh` without arguments and you get some usage informations.
```
2016-12-03 01:11:25 +01: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 21:51:09 +02: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 01:11:25 +01:00
./setup.sh debug show-mail-logs
./setup.sh debug inspect
./setup.sh debug login < commands >
2016-08-29 21:51:09 +02:00
```