1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-27 16:17:03 +00:00

test: Add SPF integration test

This patch adds a new integration test to cover SPF checks. The main
goal is not to cover the SPF parsing, since that's handled by the
library already, but the higher level aspects: that the mails are indeed
rejected, that the DSN looks reasonable, etc.
This commit is contained in:
Alberto Bertogli
2019-12-01 22:11:57 +00:00
parent 6000d07ad0
commit 28cb9169cc
13 changed files with 213 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ init
export GOTAGS="dnsoverride"
# Launch minidns in the background using our configuration.
minidns --addr=":9053" -zones=zones >> .minidns.log 2>&1 &
minidns_bg --addr=":9053" -zones=zones >> .minidns.log 2>&1
# Two chasquid servers: