Changeset

1198:b21bd39c8a12

mod_auth_imap: Leave port nil if not specified in the config, so we can auto-detect based on whether we use SSL
author Matthew Wild <mwild1@gmail.com>
date Thu, 26 Sep 2013 18:11:44 +0100
parents 1197:25641c4cab36
children 1199:5d46281a5d23
files mod_auth_imap/auth_imap/mod_auth_imap.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_auth_imap/auth_imap/mod_auth_imap.lua	Thu Sep 26 18:10:41 2013 +0100
+++ b/mod_auth_imap/auth_imap/mod_auth_imap.lua	Thu Sep 26 18:11:44 2013 +0100
@@ -6,7 +6,7 @@
 local log = require "util.logger".init("auth_imap");
 
 local imap_host = module:get_option_string("imap_auth_host", "localhost");
-local imap_port = module:get_option_number("imap_auth_port", 143);
+local imap_port = module:get_option_number("imap_auth_port");
 
 
 local imap_service_realm = module:get_option("imap_service_realm");