pop3: report error responses
[pop3.git] / conf.h
blob711a3a84d2669e0c322846f93989f94c966fa6ef
1 #define MAXMAILS (1 << 12)
2 #define MAXSIZE (1 << 21)
3 #define FOLDER "/home/me/.mailx/"
4 #define SPOOL (FOLDER "inbox")
5 #define LOG(msg)
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 int stls; /* enable starttls */
17 } accounts [] = {
18 {"server", "port", "username", "password"},
21 struct filter {
22 char *hdr; /* header name */
23 char *val; /* pattern to match */
24 char *dst; /* destination mbox file */
25 } filters[] = {
26 {"HDR:", "KEY", FOLDER "dst"},