--- a/mod_net_dovecotauth/mod_net_dovecotauth.lua Sun Jan 22 04:41:04 2017 +0100
+++ b/mod_net_dovecotauth/mod_net_dovecotauth.lua Sun Jan 22 04:42:55 2017 +0100
@@ -15,6 +15,7 @@
local user_exists = require "core.usermanager".user_exists;
local base64 = require"util.encodings".base64;
local dump = require"util.serialization".serialize;
+local pposix = require "util.pposix";
-- Config
local default_vhost = module:get_option_string("dovecotauth_host", (next(hosts))); -- TODO Is there a better solution?