TLS1.2 and command execution

This commit is contained in:
Lorenzo Torres 2024-08-20 04:57:58 +02:00
parent bc96196ffd
commit 33bb5b8775
10 changed files with 459 additions and 19 deletions

View file

@ -3,6 +3,7 @@
/* network */
#define IMAP_PORT 143
#define IMAPS_PORT 993
#define TLS_ENABLED 1
/*-
* Maximum number of connected clients,
* NOTE: each one of these is a currently
@ -20,3 +21,19 @@
* modify this.
*/
#define CMD_MAX_SIZE 8000
static char *imap_capabilities[] = {
"IMAP4rev1",
"STARTTLS",
"AUTH=GSSAPI",
"LOGINDISABLED",
NULL
};
static char *imaps_capabilities[] = {
"IMAP4rev1",
"STARTTLS",
"AUTH=GSSAPI",
"AUTH=PLAIN",
NULL
};