summaryrefslogtreecommitdiffstats
path: root/rules/regexp
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2016-11-10 14:45:24 +0200
committerAndrew Lewis <nerf@judo.za.org>2016-11-10 14:45:24 +0200
commit2538eb7bc585c0439196596d0e144c80c2473458 (patch)
tree7461206bf1b4ba25f0bf6257d888e8f07e9befe0 /rules/regexp
parent29a42adac9a52e7cd513c15d5f75c049413f08f7 (diff)
downloadrspamd-2538eb7bc585c0439196596d0e144c80c2473458.tar.gz
rspamd-2538eb7bc585c0439196596d0e144c80c2473458.zip
[Minor] Add missing require
Diffstat (limited to 'rules/regexp')
-rw-r--r--rules/regexp/compromised_hosts.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/regexp/compromised_hosts.lua b/rules/regexp/compromised_hosts.lua
index 6159fbccc..69e77742f 100644
--- a/rules/regexp/compromised_hosts.lua
+++ b/rules/regexp/compromised_hosts.lua
@@ -1,5 +1,6 @@
local reconf = config['regexp']
local rspamd_regexp = require 'rspamd_regexp'
+local util = require 'rspamd_util'
reconf['HAS_PHPMAILER_SIG'] = {
re = "X-Mailer=/^PHPMailer/Hi || Content-Type=/boundary=\"b[123]_/Hi",