]> code.citadel.org Git - citadel.git/blobdiff - citadel/control.c
* Changed the comments at the beginning of each file to a consistent format
[citadel.git] / citadel / control.c
index 2d2c9533400d93600cfa19f2b7045354b2ba9d98..e9452d4e498c9df8825e9f8aac59b37bc842cc95 100644 (file)
@@ -1,10 +1,8 @@
 /*
- * control.c
+ * $Id$
  *
  * This module handles states which are global to the entire server.
  *
- * $Id$
- *
  */
 
 #include "sysdep.h"
@@ -165,6 +163,9 @@ void cmd_conf(char *argbuf) {
                cprintf("%d\n", config.c_maxmsglen);
                cprintf("%d\n", config.c_min_workers);
                cprintf("%d\n", config.c_max_workers);
+               cprintf("%d\n", config.c_pop3_port);
+               cprintf("%d\n", config.c_smtp_port);
+               cprintf("%d\n", config.c_default_filter);
                cprintf("000\n");
                }
 
@@ -244,6 +245,12 @@ void cmd_conf(char *argbuf) {
                                        config.c_min_workers = atoi(buf);
                        case 22: if (atoi(buf) >= config.c_min_workers)
                                        config.c_max_workers = atoi(buf);
+                       case 23: config.c_pop3_port = atoi(buf);
+                               break;
+                       case 24: config.c_smtp_port = atoi(buf);
+                               break;
+                       case 25: config.c_default_filter = atoi(buf);
+                               break;
                        }
                    ++a;
                    }
@@ -254,7 +261,7 @@ void cmd_conf(char *argbuf) {
                aide_message(buf);
 
                if (strlen(config.c_logpages) > 0)
-                       create_room(config.c_logpages, 4, "", 0);
+                       create_room(config.c_logpages, 3, "", 0);
                }
 
        else if (!strcasecmp(cmd, "GETSYS")) {