3-php-5.6, 3-php-5.6.30, 3.0-php-5.6, 3.0-php-5.6.30, 3.0.15-php-5.6, 3.0.15-php-5.6.30, php-5.6, php-5.6.30 (Dockerfile)3-php-5.6-alpine, 3-php-5.6.30-alpine, 3.0-php-5.6-alpine, 3.0-php-5.6.30-alpine, 3.0.15-php-5.6-alpine, 3.0.15-php-5.6.30-alpine, php-5.6-alpine, php-5.6.30-alpine (Dockerfile)3-php-7.1, 3-php-7.1.3, 3.0-php-7.1, 3.0-php-7.1.3, 3.0.15-php-7.1, 3.0.15-php-7.1.3, php-7.1, php-7.1.3, latest (Dockerfile)3-php-7.1-alpine, 3-php-7.1.3-alpine, 3.0-php-7.1-alpine, 3.0-php-7.1.3-alpine, 3.0.15-php-7.1-alpine, 3.0.15-php-7.1.3-alpine, php-7.1-alpine, php-7.1.3-alpine, alpine (Dockerfile)3-php-7.0, 3-php-7.0.17, 3.0-php-7.0, 3.0-php-7.0.17, 3.0.15-php-7.0, 3.0.15-php-7.0.17, php-7.0, php-7.0.17 (Dockerfile)3-php-7.0-alpine, 3-php-7.0.17-alpine, 3.0-php-7.0-alpine, 3.0-php-7.0.17-alpine, 3.0.15-php-7.0-alpine, 3.0.15-php-7.0.17-alpine, php-7.0-alpine, php-7.0.17-alpine (Dockerfile)Default: md5
| Method | Documentation | Notes |
|---|---|---|
plain | plain password | |
password | See (~ 3) | |
crypt | See (~ 3) | |
crypt:XXX | call the PHP crypt() function (with random salt) where XXX is one of: md5, blowfish, sha256, sha512 | |
md5 | call PHP md5() method without salt | |
md5-salted | call PHP md5() with salt (salt set in defaults.mailbox.password_salt above) | See (~ 1) |
sha1 | call PHP sha1 method without salt | |
sha1-salted | call PHP sha1 with salt (salt set in defaults.mailbox.password_salt above) | See (~ 1) |
dovecot:XXX | dovecotpw -l or doveadm pw -l | See (~ 1), (~ 2) |
(~ 1) All supported password encription tools in [ViMbAdmin] are implemented using OSS Framework.
(~ 2) Due to containerization for this tool, we first need to find a way to share the
dovectopw/doveadm pwtools between the containers before enabling it in the supported encryption plans.
(~ 3) Encryption metod is not supported by [ViMbAdmin].
(~ 4) In order to choose the best password encryption, please read MySQL encryption functions documentation as well.
# Clear containers if they exist by any chance
docker rm -f mail-cluster-mysql mail-cluster-vimba mail-cluster-nginx || true
# MySQL (create container)
docker run -e MYSQL_ROOT_PASSWORD=weltest --name mail-cluster-mysql -d mysql:5
# MySQL (create database)
docker exec mail-cluster-mysql bash -c 'iterate=0; while ! mysqladmin ping -uroot -p$MYSQL_ROOT_PASSWORD -h127.0.0.1 --silent; do iterate=$((iterate+1)); echo .; sleep 1; done; echo "CREATE DATABASE IF NOT EXISTS mail" | mysql -uroot -p$MYSQL_ROOT_PASSWORD'
# ViMbAdmin (create container)
docker run --link mail-cluster-mysql:mail-mysql --name mail-cluster-vimba \
-v $(pwd)/.travis/application.ini:/var/www/vimbadmin/application/configs/application.ini \
-d qubestash/vimbadmin:latest
# ViMbAdmin (create database structure)
docker exec mail-cluster-vimba sh -c 'cd /var/www/vimbadmin && ./bin/doctrine2-cli.php orm:schema-tool:create'
# Nginx (create container)
docker run --link mail-cluster-vimba:mail-vimbadmin --name mail-cluster-nginx -p 80:80 \
-v $(pwd)/.travis/nginx.conf:/etc/nginx/conf.d/nginx.conf:ro \
--volumes-from mail-cluster-vimba:rw \
-d nginx:alpine
Please look at QubeStash/mail repository.
Content type
Image
Digest
Size
240.2 MB
Last updated
over 9 years ago
docker pull qubestash/vimbadmin