/*
* This module handles states which are global to the entire server.
*
- * Copyright (c) 1987-2019 by the citadel.org team
+ * Copyright (c) 1987-2020 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.
/*
* CtdlGetCurrentMessageNumber() - Obtain the current highest message number in the system
* This provides a quick way to initialise a variable that might be used to indicate
- * messages that should not be processed. EG. a new Sieve script will use this
+ * messages that should not be processed. For example, an inbox rules script will use this
* to record determine that messages older than this should not be processed.
*
* (Why is this function here? Can't we just go straight to the config variable it fetches?)
/*
* Get or set global configuration options
- *
- * IF YOU ADD OR CHANGE FIELDS HERE, YOU *MUST* DOCUMENT YOUR CHANGES AT:
- * http://www.citadel.org/doku.php/documentation:appproto:system_config
- *
*/
void cmd_conf(char *argbuf)
{
cprintf("%s\n", CtdlGetConfigStr("c_journal_dest"));
cprintf("%s\n", CtdlGetConfigStr("c_default_cal_zone"));
cprintf("%d\n", CtdlGetConfigInt("c_pftcpdict_port"));
- cprintf("%d\n", CtdlGetConfigInt("c_managesieve_port"));
+ cprintf("0\n");
cprintf("%d\n", CtdlGetConfigInt("c_auth_mode"));
cprintf("\n");
cprintf("\n");
CtdlSetConfigInt("c_pftcpdict_port", atoi(buf));
break;
case 51:
- CtdlSetConfigInt("c_managesieve_port", atoi(buf));
+ /* niu */
break;
case 52:
CtdlSetConfigInt("c_auth_mode", atoi(buf));