MAP - FROM REGEXP
${result} = Scan Message With Rspamc ${MESSAGE} --from user123@test.com
Check Rspamc ${result} REGEXP_MAP
- ${result} = Scan Message With Rspamc ${MESSAGE} --from somebody@exAmplE.com
+ ${result} = Scan Message With Rspamc ${MESSAGE} --from somebody@example.com
Check Rspamc ${result} REGEXP_MAP
MAP - FROM REGEXP MISS
type = "txt";
replies = ["$Id: example.com 4415 2015-08-24 20:12:23Z davids $", "v=spf1 -all"];
},
+ {
+ name = "example.com",
+ type = "a";
+ replies = ["93.184.216.34"];
+ },
{
name = "testdkim1._domainkey.dnssec-failed.org",
type = "txt";
name = "114.47.228.46.asn.rspamd.com",
type = "txt";
replies = ["34010|46.228.40.0/21|GB|ripencc|"];
+ },
+ {
+ name = "10.0.1.10.rspamd.com",
+ type = "a";
+ rcode = 'nxdomain';
+ },
+ {
+ name = "10.0.1.11.rspamd.com",
+ type = "a";
+ rcode = 'nxdomain';
+ },
+ {
+ name = "other.org",
+ type = "txt";
+ rcode = 'norec';
+ },
+ {
+ name = "8.8.8.8.rspamd.com",
+ type = "a";
+ rcode = 'nxdomain';
+ },
+ {
+ name = "rspamd.tk",
+ type = "txt";
+ replies = ["bio=a263adeab8acdcdb8b89e127b67d696061fdfbee"];
}];
}
}