* Added server and client configuration settings to specify port
[citadel.git] / citadel / routines2.c
index 94772edbb850253bc9052a1effd81912e21dbbd3..3202f7996ca328c1bf32124282ccb23df6094b19 100644 (file)
@@ -644,7 +644,7 @@ void read_bio(CtdlIPC *ipc)
 void do_system_configuration(CtdlIPC *ipc)
 {
 
-#define NUM_CONFIGS 39
+#define NUM_CONFIGS 42
 
        char buf[SIZ];
        char sc[NUM_CONFIGS][SIZ];
@@ -736,9 +736,12 @@ void do_system_configuration(CtdlIPC *ipc)
 
        strprompt("Server IP address (0.0.0.0 for 'any')", &sc[37][0], 15);
        strprompt("POP3 server port (-1 to disable)", &sc[23][0], 5);
+       strprompt("POP3S server port (-1 to disable)", &sc[40][0], 5);
        strprompt("IMAP server port (-1 to disable)", &sc[27][0], 5);
+       strprompt("IMAPS server port (-1 to disable)", &sc[39][0], 5);
        strprompt("SMTP MTA server port (-1 to disable)", &sc[24][0], 5);
        strprompt("SMTP MSA server port (-1 to disable)", &sc[38][0], 5);
+       strprompt("SMTPS server port (-1 to disable)", &sc[41][0], 5);
 
        /* This logic flips the question around, because it's one of those
         * situations where 0=yes and 1=no