Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2017-08-02 09:15:41 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2017-08-02 09:15:41 +0300
commit3616fc0b935c082eb2c4529c7d791ddd62910c34 (patch)
tree1575b70d9af2fd45d607dbb19e490697408cdb8e /Makefile
parent6b23904459adf46c1302555eb3810f5b692a0eab (diff)
Use a decent SMTP docker image to test against
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index c785c00da..d40706233 100644
--- a/Makefile
+++ b/Makefile
@@ -39,12 +39,20 @@ dev-setup: install-composer-deps install-npm-deps-dev
start-imap-docker:
docker pull $(docker_image)
- docker run --name="ocimaptest" -d \
- -p 2525:25 -p 587:587 -p 993:993 \
+ docker run --name="ncimaptest" -d \
+ -p 993:993 \
-e POSTFIX_HOSTNAME=mail.domain.tld $(docker_image)
+start-smtp-docker:
+ docker pull catatnight/postfix
+ docker run --name="ncsmtptest" -d \
+ -e maildomain=domain.tld \
+ -e smtp_user=user@domain.tld:mypassword \
+ -p 2525:25 \
+ catatnight/postfix
+
add-imap-account:
- docker exec -it ocimaptest /opt/bin/useradd $(mail_user) $(mail_pwd)
+ docker exec -it ncimaptest /opt/bin/useradd $(mail_user) $(mail_pwd)
update-composer: composer.phar
rm -f composer.lock