X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fsetup.c;h=15a859396dd03f799c865797909ccae8c465e86a;hb=9dc7bcd39e5c317b6ca3f4f84f458c9cfccb878d;hp=1dccd12f0cceedad621eeb3e4b60504f521fd941;hpb=734fdd6797cc597be60ff9e9ab93477100f7d286;p=citadel.git diff --git a/citadel/setup.c b/citadel/setup.c index 1dccd12f0..15a859396 100644 --- a/citadel/setup.c +++ b/citadel/setup.c @@ -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) {