forked from evgeni/bley
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbley.conf.template
53 lines (43 loc) · 1.36 KB
/
bley.conf.template
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
[bley]
# On which IP and port should the daemon listen?
listen_addr = 127.0.0.1
listen_port = 1337
# Where to save the PID file?
pid_file = bley.pid
# Where to save the log file?
log_file = bley.log
reject_msg = greylisted, try again later
# Which database to use? [pgsql|mysql|sqlite3]
# note: for sqlite3, just set dbname to the path to the database
dbtype = pgsql
dbhost = localhost
dbuser = bley
dbpass = bley
dbname = bley
# Which DNSBLs and DNSWLs to use?
dnsbls = ix.dnsbl.manitu.net, dnsbl.ahbl.org, dnsbl.sorbs.net
dnswls = list.dnswl.org
# Whitelist after dnswl_threshold hits.
dnswl_threshold = 1
# Greylist after dnsbl_threshold hits.
dnsbl_threshold = 1
# Greylist after rfc_threshold hits in the RFC checks.
rfc_threshold = 2
# Wait greylist_period minutes before accepting greyed sender.
greylist_period = 29
# Max wait greylist_max minutes before accepting greyed sender.
# (Accept all senders after 12h.)
greylist_max = 720
# Add greylist_penalty minutes for every connection before greylist_period.
greylist_penalty= 10
# Purge good entries from the database after purge_days inactivities.
purge_days = 40
# Purge bad entries from the database after purge_bad_days inactivities.
purge_bad_days = 10
# Use SPF?
use_spf = 1
use_spf_guess = 0
# Use Exim workaround (close the socket after an action has been sent)?
exim_workaround = 0
[bleygraph]
destdir = stats