# HG changeset patch # User Matthew Wild # Date 1380215504 -3600 # Node ID b21bd39c8a126f9b0bf4299916eced4dce884f5a # Parent 25641c4cab361f4c2d6c9b62a861fca2257a2701 mod_auth_imap: Leave port nil if not specified in the config, so we can auto-detect based on whether we use SSL diff -r 25641c4cab36 -r b21bd39c8a12 mod_auth_imap/auth_imap/mod_auth_imap.lua --- 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");