diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/lua/multimap.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/lua/multimap.lua b/src/plugins/lua/multimap.lua index 0a1cf15b5..e2bde2a32 100644 --- a/src/plugins/lua/multimap.lua +++ b/src/plugins/lua/multimap.lua @@ -658,12 +658,18 @@ local function multimap_callback(task, rule) if task:has_recipients('smtp') then local rcpts = task:get_recipients('smtp') match_addr(rule, rcpts) + elseif task:has_recipients('mime') then + local rcpts = task:get_recipients('mime') + match_addr(rule, rcpts) end end, from = function() if task:has_from('smtp') then local from = task:get_from('smtp') match_addr(rule, from) + elseif task:has_from('mime') then + local from = task:get_from('mime') + match_addr(rule, from) end end, helo = function() |