This commit is contained in:
Georg Lauterbach 2020-11-12 09:36:15 +01:00
parent d4e0a571e0
commit d26c4c8b31
No known key found for this signature in database
GPG Key ID: 386D76E7AD496709
1 changed files with 2 additions and 2 deletions

View File

@ -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