diff options
Diffstat (limited to 'test/functional/configs/surbl.conf')
-rw-r--r-- | test/functional/configs/surbl.conf | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/functional/configs/surbl.conf b/test/functional/configs/surbl.conf index 85074955c..967c170ae 100644 --- a/test/functional/configs/surbl.conf +++ b/test/functional/configs/surbl.conf @@ -5,6 +5,7 @@ surbl { suffix = "test.uribl"; check_dkim = true; check_emails = true; + images = false; process_script =<<EOD function(url, suffix) local cr = require "rspamd_cryptobox_hash" @@ -50,5 +51,18 @@ EOD; URIBL_DROP = "127.0.0.9"; } } + "RSPAMD_URIBL_IMAGES" { + suffix = "test.uribl"; + check_dkim = true; + check_emails = true; + images = true; + process_script =<<EOD + function(url, suffix) + local cr = require "rspamd_cryptobox_hash" + local h = cr.create(url):base32():sub(1, 32) + return string.format("%s.%s", h, suffix) +end +EOD; + } } }
\ No newline at end of file |