mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
fix for #1685
This commit is contained in:
parent
d4e0a571e0
commit
d26c4c8b31
4
Makefile
4
Makefile
|
@ -16,8 +16,8 @@ build:
|
|||
backup:
|
||||
# if backup directories exist, clean hasn't been called, therefore
|
||||
# we shouldn't overwrite it. It still contains the original content.
|
||||
@ [[ ! -d config.bak ]] && cp -rp config config.bak; fi
|
||||
@ [[ ! -d testconfig.bak ]] && cp -rp test/config testconfig.bak; fi
|
||||
@ [[ ! -d config.bak ]] && cp -rp config config.bak
|
||||
@ [[ ! -d testconfig.bak ]] && cp -rp test/config testconfig.bak
|
||||
|
||||
generate-accounts:
|
||||
@ docker run --rm -e MAIL_USER=user1@localhost.localdomain -e MAIL_PASS=mypassword -t $(NAME) /bin/sh -c 'echo "$$MAIL_USER|$$(doveadm pw -s SHA512-CRYPT -u $$MAIL_USER -p $$MAIL_PASS)"' > test/config/postfix-accounts.cf
|
||||
|
|
Loading…
Reference in a new issue