Browse Source

[Test] Emailbl subdomain + Emailbl Replyto subdomain

tags/2.0
korgoth1 4 years ago
parent
commit
671e0c51fd

+ 9
- 0
test/functional/cases/340_surbl.robot View File

@@ -103,6 +103,10 @@ EMAILBL full adress & domain only
Should Contain ${result.stdout} RSPAMD_EMAILBL_FULL (
Should Contain ${result.stdout} RSPAMD_EMAILBL_DOMAINONLY (

EMAILBL full subdomain adress
${result} = Scan Message With Rspamc ${TESTDIR}/messages/emailbltext2.eml
Should Contain ${result.stdout} RSPAMD_EMAILBL_FULL (

EMAILBL REPLY TO full adress
${result} = Scan Message With Rspamc ${TESTDIR}/messages/replyto.eml
Should Contain ${result.stdout} RSPAMD_EMAILBL_FULL (
@@ -113,6 +117,11 @@ EMAILBL REPLY TO domain only
Should Contain ${result.stdout} RSPAMD_EMAILBL_DOMAINONLY (
Should Not Contain ${result.stdout} RSPAMD_EMAILBL_FULL (

EMAILBL REPLY TO full subdomain adress
${result} = Scan Message With Rspamc ${TESTDIR}/messages/replytosubdomain.eml
Should Contain ${result.stdout} RSPAMD_EMAILBL_FULL (
Should Not Contain ${result.stdout} RSPAMD_EMAILBL_DOMAINONLY (


*** Keywords ***
Surbl Setup

+ 5
- 0
test/functional/configs/plugins.conf View File

@@ -544,6 +544,11 @@ options = {
type = a;
replies = ["127.0.0.2"];
},
{
name = "user.subdomain.emailbl.com.test5.uribl";
type = a;
replies = ["127.0.0.2"];
},
{
name = "baddomain.com.test6.uribl";
type = a;

+ 3
- 0
test/functional/messages/emailbltext2.eml View File

@@ -0,0 +1,3 @@
Content-Type: text/plain

user@subdomain.emailbl.com

+ 5
- 0
test/functional/messages/replytosubdomain.eml View File

@@ -0,0 +1,5 @@
Reply-to: user@subdomain.emailbl.com
From: xxx@abrakadabra.com
Content-Type: text/plain

salkdmaslkd

Loading…
Cancel
Save