feat: first commit

This commit is contained in:
Lorenzo Torres 2024-08-19 22:49:04 +02:00
commit bc96196ffd
9 changed files with 535 additions and 0 deletions

22
config.def.h Normal file
View file

@ -0,0 +1,22 @@
/* See LICENSE file for copyright and license details. */
/* network */
#define IMAP_PORT 143
#define IMAPS_PORT 993
/*-
* Maximum number of connected clients,
* NOTE: each one of these is a currently
* connected client! Unless your server
* has to manage a lot of accounts you
* should be good with the default value.
*/
#define MAX_CLIENTS 30
/*-
* Maximum size for the command buffer.
* IMAP sends plain text commands, so
* the default value can receive up to
* 8000 characters long commands.
* It should be enough but feel free to
* modify this.
*/
#define CMD_MAX_SIZE 8000