~ubuntu-branches/ubuntu/raring/gnarwl/raring-proposed

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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
// Multiply config directive "db_expire" with this value
#define TIMEFACTOR 3600

// How many seconds to wait for LDAP data, before giving up
#define LDAPQUERY_MAXWAIT 10

// Defaults for several config directives
#define DEFAULT_SERVER "localhost"
#define DEFAULT_QFILTER "(&(mail=$recepient)(vacationActive=TRUE)"
#define DEFAULT_MES "vacationInfo"
#define DEFAULT_BASE ""
#define DEFAULT_EXPIRE 48
#define DEFAULT_MAIL_LIMIT 256
#define DEFAULT_MAP_SENDER "$sender"
#define DEFAULT_MAP_RECEIVER "$recepient"
#define DEFAULT_MAP_SUBJECT "$subject"
#define LDAP_PROTOCOL_DETECT 0
#define LDAP_CHARSET "UTF-8"

// Verbositylevel
#define LVL_CRIT 0
#define LVL_WARN 1
#define LVL_INFO 2
#define LVL_DEBUG 3


/* <Filled by the configure script> */

// Having this call allows to select the protocol
#undef HAVE_LDAP_SET_OPTION
// Having this call allows for charset translation
#undef HAVE_ICONV
// What to use as default MTA
#undef DEFAULT_MTA
// Maximum size for input buffer
#undef MAXLINE
// File permission mask
#undef UMASK

/* </Filled by the configure script> */

// Don't change ;-)
#define TRUE 1
#define FALSE 0

// Failsafe. Just in case (guess some sane values)
#ifndef CFGFILE
#define CFGFILE "/etc/gnarwl.cfg"
#endif
#ifndef VERSION
#define VERSION " <unknown>"
#endif
#ifndef BLOCKDIR
#define BLOCKDIR "/tmp/"
#endif
#ifndef DEFAULT_MTA
#define DEFAULT_MTA "/usr/sbin/sendmail"
#endif
#ifndef MAXLINE
#define MAXLINE 2100
#endif
#ifndef BLOCKDIR
#define BLOCKDIR "/tmp"
#endif
#ifndef UMASK
#define UMASK 0600
#endif