diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
