local multimap_filters = {
from = apply_addr_filter,
- to = apply_addr_filter,
+ rcpt = apply_addr_filter,
helo = apply_hostname_filter,
header = apply_addr_filter,
url = apply_url_filter,
local function match_addr(r, addr)
match_list(r, addr, {'addr'})
- match_list(r, addr, {'domain', function(d) return '@' .. d end})
- match_list(r, addr, {'user', function(d) return d .. '@' end})
+ match_list(r, addr, {'domain'})
+ match_list(r, addr, {'user'})
end
local function match_url(r, url)