cluebringer.conf 3.14 KB
Newer Older
1
#
2
# Server configuration
3
#
4
[server]
5

6
7
8
# Protocols to load
protocols=<<EOT
Postfix
9
Bizanga
10
11
EOT

12
# Modules to load
Nigel Kukard's avatar
Nigel Kukard committed
13
modules=<<EOT
14
Core
Nigel Kukard's avatar
Nigel Kukard committed
15
AccessControl
16
CheckHelo
17
CheckSPF
Nigel Kukard's avatar
Nigel Kukard committed
18
19
Greylisting
Quotas
Nigel Kukard's avatar
Nigel Kukard committed
20
21
EOT

22
23
24
25
26
# User to run this daemon as
#user=
#group=

# Filename to store pid of parent process
27
28
29
30
#pid_file=/var/run/cbpolicyd.pid

# Uncommenting the below option will prevent cbpolicyd going into the background
#background=no
31

32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Preforking configuration
#
# min_server		- Minimum servers to keep around
# min_spare_servers	- Minimum spare servers to keep around ready to 
# 			  handle requests
# max_spare_servers	- Maximum spare servers to have around doing nothing
# max_servers		- Maximum servers alltogether
# max_requests		- Maximum number of requests each child will serve
#
# One may want to use the following as a rough guideline...
# Small mailserver:  2, 2, 4, 10, 1000
# Medium mailserver: 4, 4, 12, 25, 1000
# Large mailserver: 8, 8, 16, 64, 1000
#
#min_servers=4
#min_spare_servers=4
#max_spare_servers=12
#max_servers=25
#max_requests=1000



54
55
56
57
58
59
# Log level:
# 0 - Errors only
# 1 - Warnings and errors
# 2 - Notices, warnings, errors
# 3 - Info, notices, warnings, errors
# 4 - Debugging 
60
#log_level=2
61
62

# File to log to instead of stdout
63
#log_file=/var/log/cbpolicyd.log
64

65
# Log destination for mail logs...
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# main		- Default. Log to policyd's main log mechanism, accepts NO args
# syslog	- log mail via syslog
#			format: log_mail=facility@method,args
#
# Valid methods for syslog:
# native	- Let Sys::Syslog decide
# unix		- Unix socket
# udp		- UDP socket
# stream	- Stream (for Solaris)
#
# Example: unix native
#log_mail=mail@syslog:native
#
# Example: unix socket 
#log_mail=mail@syslog:unix
#
# Example: udp
#log_mail=mail@syslog:udp,127.0.0.1
#
# Example: Solaris 
#log_mail=local0@syslog:stream,/dev/log
log_mail=maillog
88

89
90
91
92
93
94
95
96
97
98
99
100
# Things to log in extreme detail
# modules 	- Log detailed module running information
# tracking 	- Log detailed tracking information
# policies 	- Log policy resolution
# protocols 	- Log general protocol info, but detailed
# bizanga 	- Log the bizanga protocol
#
# There is no default for this configuration option. Options can be
# separated by commas. ie. protocols,modules
#
#log_detail=

101
# IP to listen on, * for all
102
#host=*
103
104

# Port to run on
105
#port=10031
106
107

# Timeout in communication with clients
108
#timeout=120
109
110

# cidr_allow/cidr_deny
111
112
113
114
# Comma, whitespace or semi-colon separated. Contains a CIDR block to 
# compare the clients IP to.  If cidr_allow or cidr_deny options are 
# given, the incoming client must match a cidr_allow and not match a 
# cidr_deny or the client connection will be closed.
115
116
117
#cidr_allow=0.0.0.0/0
#cidr_deny=

118
119


Nigel Kukard's avatar
Nigel Kukard committed
120
[database]
121
122
#DSN=DBI:SQLite:dbname=policyd.sqlite
DSN=DBI:mysql:database=policyd;host=localhost
Nigel Kukard's avatar
Nigel Kukard committed
123
124
125
126
#Username=root
#Password=
#

127
128
129
130
131
# What do we do when we have a database connection problem
# tempfail	- Return temporary failure
# pass		- Return success
bypass_mode=tempfail

132
133
134
# How many seconds before we retry a DB connection
bypass_timeout=30

Nigel Kukard's avatar
Nigel Kukard committed
135
136
137
138
139


# Access Control module
[AccessControl]
enable=1
Nigel Kukard's avatar
Nigel Kukard committed
140
141


Nigel Kukard's avatar
Nigel Kukard committed
142
143
# Greylisting module
[Greylisting]
Nigel Kukard's avatar
Nigel Kukard committed
144
145
146
enable=1


147
148
# CheckHelo module
[CheckHelo]
149
150
151
enable=1


152
153
154
# CheckSPF module
[CheckSPF]
enable=1
Nigel Kukard's avatar
Nigel Kukard committed
155

Nigel Kukard's avatar
Nigel Kukard committed
156
157
158
159
160
161
162

# Quotas module
[Quotas]
enable=1