File: config.sample

package info (click to toggle)
pyzor 1%3A1.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 788 kB
  • ctags: 1,034
  • sloc: python: 6,518; makefile: 154; sh: 19
file content (106 lines) | stat: -rw-r--r-- 2,836 bytes parent folder | download | duplicates (4)
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
## Note that the options that require a file name, must not contain absolute
## paths. They are relative to the specified --homedir, which defaults to 
## ~/.pyzor

## All of these options are overridable from the respective command-line 
## arguments.

## The client section only affects the pyzor client.

[client]
## The `ServersFile` must contain a newline-separated list of server 
## addresses to report/whitelist/check with.
# ServersFile = servers

## The `AccountsFile` file containing information about accounts on servers. 
# AccountsFile = accounts

## This option specifies the name of the log file.
# LogFile = 

## The `LocaWhitelist` file containing skipped digests. 
# LocalWhitelist = whitelist

## This options specifies the number of seconds that the pyzor client should
## wait for a response from the server before timing out.
# Timeout = 5

## This options specifies the input style of the pyzor client. Current options
## are:
##  - msg (individual RFC5321 message) 
##  - mbox (mbox file of messages)  
##  - digests (Pyzor digests, one per line)
# Style = msg

## Thes options specify the threshold for number of reports/whitelists. 
## According to these thresholds the pyzor client exit code will differ.
# ReportThreshold = 0
# WhitelistThreshold = 0

## The server section only affects the pyzord server.

[server]
## Specifes the port and interface to listen on.
# Port = 24441
# ListenAddress = 0.0.0.0

## This option specifies the name of the log file.
# LogFile = 
## This option specifies the name of the usage log file.
# UsageLogFile = 

## This file will contain the PID of the pyzord daemon, when the it's 
## started with the --detach options. The file is removed when the daemon is 
## closed
# PidFile = pyzord.pid

## This file must contain the username and their keys 
# PasswdFile = pyzord.passwd

## This file defines the ACL for the users
# AccessFile = pyzord.access

## If set to True then use the gevent library.
# Gevent = False

## These settings define the storage engine that the pyzord server should use.

## Example for gdbm (default):
# Engine = gdbm
# DigestDB   = pyzord.db

## Example for mysql:
# Engine = mysql
# DigestDB   = localhost,user,passwd,pyzor_db,pyzor_table

## Example for redis:
# Engine = redis
# DigestDB = localhost,6379,,0
## Or if a password is required
# DigestDB = localhost,6379,passwd,0 

## The maximum age of an record, after which it will be removed.
## To disable this set this to 0.
# CleanupAge = 10368000 # aprox 4 months


## These setting define how and if the pyzord server should use concurrency
## For pre-forking
# PreFork = 0 # disabled

## For multi-threading:
# Threads = False
# MaxThreads = 0 # unlimited
# DBConnections = 0 # new connection for each request

## For multi-processing:
# Processes = False
# MaxProcesses = 40