mod_auth_imap: Rename imap_service_realm to imap_auth_realm and inherit from sasl_realm, rename imap_service_name to imap_auth_service_name
--- a/mod_auth_imap/auth_imap/mod_auth_imap.lua Thu Sep 26 18:14:45 2013 +0100
+++ b/mod_auth_imap/auth_imap/mod_auth_imap.lua Thu Sep 26 18:30:46 2013 +0100
@@ -8,9 +8,8 @@
local imap_host = module:get_option_string("imap_auth_host", "localhost");
local imap_port = module:get_option_number("imap_auth_port");
-
-local imap_service_realm = module:get_option("imap_service_realm");
-local imap_service_name = module:get_option("imap_service_name");
+local imap_service_realm = module:get_option_string("imap_auth_realm", module_get_option("sasl_realm"));
+local imap_service_name = module:get_option_string("imap_auth_service_name");
local append_host = module:get_option_boolean("auth_append_host");
local verify_certificate = module:get_option_boolean("auth_imap_verify_certificate", true);