* Shut off hostname resolution when dealing with Unix domain sockets
[citadel.git] / citadel / setup.c
index 1dccd12f0cceedad621eeb3e4b60504f521fd941..15a859396dd03f799c865797909ccae8c465e86a 100644 (file)
@@ -843,6 +843,12 @@ int main(int argc, char *argv[])
                config.c_ep.expire_value = 150;
        }
 
+       /*
+        * Default port numbers for various services
+        */
+       if (config.c_pop3_port == 0) config.c_pop3_port = 110;
+       if (config.c_smtp_port == 0) config.c_smtp_port = 25;
+
 
        /* Go through a series of dialogs prompting for config info */
        for (curr = 1; curr <= MAXSETUP; ++curr) {