DMARC NONE PASS SPF
${result} = Scan Message With Rspamc ${TESTDIR}/messages/dmarc/fail_none.eml
- ... -i 212.47.245.199 --from foo@rspamd.tk
+ ... -i 8.8.4.4 --from foo@spf.cacophony.za.org
Check Rspamc ${result} DMARC_POLICY_ALLOW
DMARC NONE FAIL
*** Test Cases ***
TEST SIGNED
- ${result} = Scan Message With Rspamc ${MESSAGE} -u bob@rspamd.tk
+ ${result} = Scan Message With Rspamc ${MESSAGE} -u bob@cacophony.za.org
Check Rspamc ${result} DKIM-Signature:
Should Contain ${result.stdout} DKIM_SIGNED (1.00)
*** Test Cases ***
TEST SIGNED
- ${result} = Scan Message With Rspamc ${MESSAGE} -u bob@rspamd.tk
+ ${result} = Scan Message With Rspamc ${MESSAGE} -u bob@cacophony.za.org
Check Rspamc ${result} DKIM-Signature:
Should Contain ${result.stdout} DKIM_SIGNED (1.00)
Set Suite Variable ${PLUGIN_CONFIG}
Generic Setup PLUGIN_CONFIG
Run Redis
- Redis HSET TEST_DKIM_SELECTORS rspamd.tk test
+ Redis HSET TEST_DKIM_SELECTORS cacophony.za.org dkim
${key} = Get File ${TESTDIR}/configs/dkim.key
- Redis HSET TEST_DKIM_KEYS test.rspamd.tk ${key}
+ Redis HSET TEST_DKIM_KEYS dkim.cacophony.za.org ${key}
DKIM Signing Teardown
Normal Teardown
if not dodkim then return end
return {
key = "${TESTDIR}/configs/dkim.key",
- domain = "rspamd.tk",
- selector = "testdkim"
+ domain = "cacophony.za.org",
+ selector = "dkim"
}
end
EOD;
Date: Tue, 09 Aug 2016 10:01:27 +0200
Message-ID: <20160809100127@rspamd.tk>
-From: Rspamd <foo@rspamd.tk>
+From: Rspamd <foo@cacophony.za.org>
To: foo@rspamd.tk
Subject: hello
Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
Date: Tue, 09 Aug 2016 10:01:27 +0200
Message-ID: <20160809100127@rspamd.tk>
-From: Rspamd <foo@rspamd.tk>
+From: Rspamd <foo@cacophony.za.org>
To: foo@rspamd.tk
Subject: hello
Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
-From: Rspamd <foo@rspamd.tk>
+From: Rspamd <foo@cacophony.za.org>
hello
-From: Rspamd <foo@quarantine.rspamd.tk>
+From: Rspamd <foo@quarantine.cacophony.za.org>
hello
-From: Rspamd <foo@reject.rspamd.tk>
+From: Rspamd <foo@reject.cacophony.za.org>
hello
Date: Tue, 09 Aug 2016 10:01:27 +0200
Message-ID: <20160809100127@rspamd.tk>
-From: Rspamd <foo@rspamd.tk>
+From: Rspamd <foo@cacophony.za.org>
To: foo@rspamd.tk
Subject: hello
Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
MIME-Version: 1.0
Content-Disposition: inline
-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rspamd.tk; s=testdkim;
- t=1470729879; h=from:subject:date:message-id:to:mime-version:content-type;
- bh=7HkRgYnNru3SR2EWfgWU8yhM0MOH6ZZrPoEIgNIh8wc=;
- b=kTIV4jcgv9sWFh2JFrS/+PcNxiloituqjmHHqeJOTfa+/9C+Er8BjnMysTJyYVq36Gnv0OZDgLr3Yy4YP5Lzbt1M9ZdN5cJqO7yn1N7wyaGfkt++b09rIYBy5Dkk7OWyP3cDThqDzv8C9heSvqBSEsirFsbt3Wx2g/hWiJlnjew=
-
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cacophony.za.org;
+ s=dkim; t=1502912195; h=from:subject:date:message-id:to:mime-version:content-type;
+ bh=zS7KNTV0HyeorkDDGwxB1AV6enuRKzO5rthkhdHIRnY=;
+ b=GEGigFZw2oSlVM+lZcMsnq6XHsoIQ3HsehPjbfn9nZjpLpuZ5Yzc/Oki8eiyDg+Dw+203N
+ lRott5+RToquJiGTM0uhxG7bcLu72HmT/JvGO/kNSML9w4GuzBp8OinZLhZqmaxz4RlkLx
+ 41feLYvmQnWWfNhssQNp/5ifi4+AXxM=
hello
com
org
net
-рф
\ No newline at end of file
+рф
+za.org