File: tunable.h

package info (click to toggle)
fetchmail 6.6.2-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 7,896 kB
  • sloc: ansic: 19,458; sh: 7,133; python: 2,395; perl: 564; yacc: 447; lex: 286; makefile: 261; awk: 124; lisp: 84; exp: 43; sed: 17
file content (29 lines) | stat: -rw-r--r-- 784 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 * tunable.h -- values that a site might want to change
 *
 * For license terms, see the file COPYING in this directory.
 */

/* umask to use when daemon creates files */
#define	DEF_UMASK		022

/* default timeout period in seconds if server connection dies */
#define	CLIENT_TIMEOUT		300

/* default timeout period in seconds when IDLE (28 min) */
#define	CLIENT_IDLE_TIMEOUT	1680

/* maximum consecutive timeouts to accept */
#define MAX_TIMEOUTS		20

/* maximum consecutive lock-busy errors to accept */
#define MAX_LOCKOUTS		5

/* maximum consecutive authentication failures to accept */
#define MAX_AUTHFAILS		10

/* default skipped message warning interval in seconds */
#define WARNING_INTERVAL	3600

/* maximum transient errors to accept */
#define MAX_TRANSIENT_ERRORS	20