How do I enable auth when I am injecting mail using smtp listners
my config is below
kumo.on('smtp_server_auth_plain', function(authz, authc, password, conn_meta)
local password_database = {
['scott'] = 'tiger',
['scott1'] = 'tiger',
}
if password == '' then
return false
end
return password_database[authc] == password
end)