mirror of
https://github.com/chatmail/relay.git
synced 2026-05-11 16:34:39 +00:00
Log the lookup command in doveauth.lua
This commit is contained in:
@@ -17,8 +17,10 @@ function chatctl_verify(user, password)
|
||||
end
|
||||
|
||||
function chatctl_lookup(user)
|
||||
local cmd = "doveauth hexlookup "..escape(user)
|
||||
assert(user)
|
||||
local handle = io.popen("doveauth hexlookup "..escape(user))
|
||||
print("executing: "..cmd)
|
||||
local handle = io.popen(cmd)
|
||||
local result = handle:read("*a")
|
||||
handle:close()
|
||||
return split_chatctl(result)
|
||||
|
||||
Reference in New Issue
Block a user