-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.yml
More file actions
112 lines (103 loc) · 1.85 KB
/
config.yml
File metadata and controls
112 lines (103 loc) · 1.85 KB
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
---
publicaddress: ":8080"
grpcaddress: ":8082"
env: "dev"
autotls: false
debug: true
##### External Services
external:
maxminddest: "assets/Maxmind/download/"
ip2location: "assets/IP2Location/download/"
## Rate limit
ratelimit:
enabled: false
max: 20 # Max number of recent connections during `Duration` seconds before sending a 429 response
expiration: 30 # Expiration is the time on how long to keep records of requests in memory per minute
## Crontab (in hours)
crontab:
vpn: 24
proxy: 24
tor: 12
spam: 24
maxmind: 24
#### SCORE
email:
score:
disposable:
yes: 20
no: 0
free:
yes: 20
no: 0
spam:
yes: 30
no: 0
valid:
yes: 0
no: 40
generic:
yes: 12
no: 0
catchall:
yes: 10
no: 0
leaked:
yes: 25
no: -10
domain:
week: 30
month: 20
year: 10
yearplus: -10
ip:
score:
proxy:
yes: 40
no: 0
spam:
yes: 40
no: 0
tor:
yes: 20
no: 0
vpn:
yes: 15
no: 0
### SMTP
smtp:
hostname: ""
mailaddress: ""
## error reporting
errorreporter:
default: ""
airbrakecredentials: ""
## Proxy Settings
proxy:
cachedurationminutes: 120
workers: 40
### Database: sqlite3 or postgresql. For Non-Memory SQLite, change host: "db.sqlite3"
database:
type: "sqlite3"
name: ""
host: "db"
port: 0
username: ""
password: ""
timezone: "America/Vancouver"
ssl: false
### Service Discovery
servicediscovery:
service: ""
nodeid: ""
endpoint: ""
### Resource files
resource:
emaildisposallist: [ "email_disposable" ]
emailfreelist: [ "email_free" ]
emailspamlist: [ "email_spam" ]
ipvpnlist: [ "ip_vpn" ]
ipopenvpnlist: [ "ip_openvpn" ]
iptorlist: [ "ip_tor" ]
ipproxylist: [ "ip_proxy" ]
ipspamlist: [ "ip_spam" ]
expressionlist: [ "expressions" ]