]> code.citadel.org Git - citadel.git/blobdiff - webcit/siteconfig.c
The "c_smtpclient_use_starttls" configuration option has been replaced
[citadel.git] / webcit / siteconfig.c
index ecfc0cc6575dd062b69e97ee2a13833fab039736..4fa5541b165ce364bd15ca8431a5aea31b51d387 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Administrative screen for site-wide configuration
  *
- * Copyright (c) 1996-2012 by the citadel.org team
+ * Copyright (c) 1996-2014 by the citadel.org team
  *
  * This program is open source software.  You can redistribute it and/or
  * modify it under the terms of the GNU General Public License, version 3.
 #include "webcit.h"
 #include "webserver.h"
 
+/*
+ * Expiry policy for the autopurger
+ */
+#define EXPIRE_NEXTLEVEL        0       /* Inherit expiration policy    */
+#define EXPIRE_MANUAL           1       /* Don't expire messages at all */
+#define EXPIRE_NUMMSGS          2       /* Keep only latest n messages  */
+#define EXPIRE_AGE              3       /* Expire messages after n days */
+
 CtxType CTX_SRVLOG = CTX_NONE;
 
 HashList *ZoneHash = NULL;
@@ -210,7 +218,11 @@ CfgMapping ServerConfig[] = {
        {CFG_STR, 0, 0, "", HKEY("c_pop3_fetch")},
        {CFG_STR, 0, 0, "", HKEY("c_pop3_fastest")},
        {CFG_YES, 0, 0, "", HKEY("c_spam_flag_only")},
-       {CFG_YES, 0, 0, "", HKEY("c_guest_logins")}
+       {CFG_YES, 0, 0, "", HKEY("c_guest_logins")},
+       {CFG_STR, 0, 0, "", HKEY("c_port_number")},
+       {CFG_STR, 0, 0, "", HKEY("c_ctdluid")},
+       {CFG_STR, 0, 0, "", HKEY("c_nntp_port")},
+       {CFG_STR, 0, 0, "", HKEY("c_nntps_port")}
 };