conn: move tls handshake to conn_tls()
[pop3.git] / conf.h
blob017b7102785be0e72177f747472ff8841f462177
1 #define MAXMAILS (1 << 12)
2 #define MAXSIZE (1 << 21)
3 #define FOLDER "/home/me/.mailx/"
4 #define SPOOL (FOLDER "inbox")
5 #define DPRINT(msg, len)
7 struct account {
8 char *server; /* server address */
9 char *port; /* server port */
10 char *user; /* username */
11 char *pass; /* password */
12 char *uidl; /* path of uidl file; disables uidl if NULL */
13 char *cert; /* path of server certificate pem file */
14 int del; /* delete messages after retrieving */
15 int nopipe; /* no outstanding commands */
16 } accounts [] = {
17 {"server", "port", "username", "password"},
20 struct filter {
21 char *hdr; /* header name */
22 char *val; /* pattern to match */
23 char *dst; /* destination mbox file */
24 } filters[] = {
25 {"HDR:", "KEY", FOLDER "dst"},