Default auth enable

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)

I want that every single smtp inject requires auth, if the auth is not provided the mail should not be delivered

Remove all relay hosts from your listener and that will be the case.

ok let me try that thanks