From 24376d9bf0dac70c57502fc05a1fcaf9af0e70a9 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Sun, 13 Feb 2005 04:22:31 +0000 Subject: [PATCH] * Network configuration screen: add IMAPS, POP3S, and SMTPS ports --- webcit/ChangeLog | 4 ++++ webcit/siteconfig.c | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/webcit/ChangeLog b/webcit/ChangeLog index f82767ccc..2b42dff82 100644 --- a/webcit/ChangeLog +++ b/webcit/ChangeLog @@ -1,4 +1,7 @@ $Log$ +Revision 601.1 2005/02/13 04:22:31 ajc +* Network configuration screen: add IMAPS, POP3S, and SMTPS ports + Revision 601.0 2005/02/12 04:23:43 ajc * THIS IS 6.01 @@ -2341,3 +2344,4 @@ Sun Dec 6 19:50:55 EST 1998 Art Cancro 1998-12-03 Nathan Bryant * webserver.c: warning fix + diff --git a/webcit/siteconfig.c b/webcit/siteconfig.c index c477ceaf0..1e3e1479c 100644 --- a/webcit/siteconfig.c +++ b/webcit/siteconfig.c @@ -560,6 +560,36 @@ void display_siteconfig(void) wprintf("", buf); } break; + case 40: + if (!strcasecmp(whichmenu, "network")) { + wprintf("IMAP over SSL port (-1 to disable)"); + wprintf("", buf); + wprintf("\n"); + } + else { + wprintf("", buf); + } + break; + case 41: + if (!strcasecmp(whichmenu, "network")) { + wprintf("POP3 over SSL port (-1 to disable)"); + wprintf("", buf); + wprintf("\n"); + } + else { + wprintf("", buf); + } + break; + case 42: + if (!strcasecmp(whichmenu, "network")) { + wprintf("SMTP over SSL port (-1 to disable)"); + wprintf("", buf); + wprintf("\n"); + } + else { + wprintf("", buf); + } + break; } } @@ -688,6 +718,9 @@ void siteconfig(void) serv_printf("%s", bstr("c_ldap_bind_pw")); serv_printf("%s", bstr("c_ip_addr")); serv_printf("%s", bstr("c_msa_port")); + serv_printf("%s", bstr("c_imaps_port")); + serv_printf("%s", bstr("c_pop3s_port")); + serv_printf("%s", bstr("c_smtps_port")); serv_printf("000"); serv_printf("SPEX site|%d|%d", atoi(bstr("sitepolicy")), atoi(bstr("sitevalue"))); -- 2.39.2