interval. Here is the rest of it.
Still to do are text client and documentation.
if (config.c_net_freq < 300L)
config.c_net_freq = 300L;
+ /* Same goes for POP3 */
+ if (config.c_pop3_fetch == 0L)
+ config.c_pop3_fetch = 3600L; /* once per hour default */
+ if (config.c_pop3_fetch < 300L)
+ config.c_pop3_fetch = 300L;
+ if (config.c_pop3_fastest == 0L)
+ config.c_pop3_fastest = 3600L; /* once per hour default */
+ if (config.c_pop3_fastest < 300L)
+ config.c_pop3_fastest = 300L;
+
/* "create new user" only works with native authentication mode */
if (config.c_auth_mode != AUTHMODE_NATIVE) {
config.c_disable_newu = 1;
cprintf("%d\n", config.c_imap_keep_from);
cprintf("%d\n", config.c_xmpp_c2s_port);
cprintf("%d\n", config.c_xmpp_s2s_port);
+ cprintf("%ld\n", config.c_pop3_fetch);
+ cprintf("%ld\n", config.c_pop3_fastest);
cprintf("000\n");
}
case 63:
config.c_xmpp_s2s_port = atoi(buf);
break;
+ case 64:
+ config.c_pop3_fetch = atol(buf);
+ break;
+ case 65:
+ config.c_pop3_fastest = atol(buf);
+ break;
}
++a;
}
CFG_VALUE(CHAR(c_imap_keep_from), " IMAP keep original from header in msgs");
CFG_VALUE(INTEGER(c_xmpp_c2s_port), " XMPP client-to-server port (usually 5222)");
CFG_VALUE(INTEGER(c_xmpp_s2s_port), " XMPP server-to-server port (usually 5269)");
+CFG_VALUE(TIME(c_pop3_fetch), " How often to fetch POP3 messages");
+CFG_VALUE(TIME(c_pop3_fastest), " Users can specify POP3 fetching this often");