]> code.citadel.org Git - citadel.git/blobdiff - citadel/setup.c
* Added server and client configuration settings to specify port
[citadel.git] / citadel / setup.c
index af2ae7e0f73acb4bad2d358d10e57e37e9d6797c..db36bc3f87069934872a5c54b4a550df8504f1bc 100644 (file)
@@ -1083,6 +1083,9 @@ int main(int argc, char *argv[])
        if (config.c_pop3_port == 0) config.c_pop3_port = 110;
        if (config.c_imap_port == 0) config.c_imap_port = 143;
        if (config.c_msa_port == 0) config.c_msa_port = 587;
+       if (config.c_smtps_port == 0) config.c_smtps_port = 465;
+       if (config.c_pop3s_port == 0) config.c_pop3s_port = 995;
+       if (config.c_imaps_port == 0) config.c_imaps_port = 993;
 
        /* Go through a series of dialogs prompting for config info */
        if (setup_type != UI_SILENT) {