diff options
Diffstat (limited to 'rules/misc.lua')
-rw-r--r-- | rules/misc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/misc.lua b/rules/misc.lua index e51b0435a..6c3b732b1 100644 --- a/rules/misc.lua +++ b/rules/misc.lua @@ -325,7 +325,7 @@ rspamd_config.ENVFROM_VERP = { local envfrom = task:get_from(1) local envrcpts = task:get_recipients(1) -- VERP only works for single recipient messages - if table.getn(envrcpts) > 1 then return false end + if #envrcpts > 1 then return false end -- Get recipient and compute VERP address local rcpt = envrcpts[1].addr:lower() local verp = rcpt:gsub('@','=') |