TLS1.2 and command execution
This commit is contained in:
parent
bc96196ffd
commit
33bb5b8775
10 changed files with 459 additions and 19 deletions
17
config.def.h
17
config.def.h
|
|
@ -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
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue