summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index cb4c7db..7a1be85 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@ else
VERBOSE:=
endif
-# Allow use of external networks. EXTERNAL=1
+# Use this when you run this test on a domain with a valid MX entry. EXTERNAL=1
ifdef EXTERNAL
EXTERNAL:=-external
else
@@ -91,7 +91,7 @@ pack: gen_config
(echo "Run \"make build\" first." && exit 1)
test: import
- FREEMAIL_DB_CREDENTIALS=":memory:" go test $(RACE) $(VERBOSE) $(EXTERNAL)
+ FREEMAIL_SMTP_MAILER_MX=localhost FREEMAIL_DB_CREDENTIALS=":memory:" go test $(RACE) $(VERBOSE) $(EXTERNAL)
@(rm $(IMPORT_FILE) 2>/dev/null && echo "Removing import file..." ) || true
benchmark: import