schleuder.yml 1.75 KB
Newer Older
1
# Where are the list-directories stored (contain log-files and GnuPG-keyrings).
paz's avatar
paz committed
2
lists_dir: /var/lib/schleuder/lists
3

paz's avatar
paz committed
4
# Where to write list-logs. The actual log-file will be <lists_logs_base_dir>/<hostname>/<listname>/list.log.
paz's avatar
paz committed
5
listlogs_dir: /var/lib/schleuder/lists
paz's avatar
paz committed
6

7
# Schleuder reads plugins also from this directory.
paz's avatar
paz committed
8
plugins_dir: /etc/schleuder/plugins
9
10

# How verbose should Schleuder log to syslog? (list-specific messages are written to the list's log-file).
paz's avatar
paz committed
11
log_level: warn
12

paz's avatar
paz committed
13
14
15
16
17
18
19
20
21
# Which keyserver to refresh keys from (used by `schleuder refresh_keys`, meant
# to be run from cron weekly).
# If you have gnupg 2.1, we strongly suggest to use a hkps-keyserver:
#keyserver: hkps://hkps.pool.sks-keyservers.net
# If you have gnupg 2.1 and TOR running locally, use a onion-keyserver:
#keyserver: hkp://jirk5u4osbsr34t5.onion
# The default works for all supported versions of gnupg:
keyserver: pool.sks-keyservers.net

22
# For these options see documentation for ActionMailer::smtp_settings, e.g. <http://api.rubyonrails.org/classes/ActionMailer/Base.html>.
23
smtp_settings:
paz's avatar
paz committed
24
  address: localhost
25
26
27
28
29
30
31
  port: 25
  #domain:
  #enable_starttls_auto:
  #openssl_verify_mode:
  #authentication:
  #user_name:
  #password:
32
33

# The database to use. Unless you want to run the tests you only need the `production`-section.
paz's avatar
paz committed
34
35
36
database:
  production:
    adapter:  'sqlite3'
paz's avatar
paz committed
37
    database: /var/lib/schleuder/db.sqlite
paz's avatar
paz committed
38
    timeout: 5000
39
40

api:
41
  host: localhost
42
  port: 4443
paz's avatar
paz committed
43
  # Certificate and key to use. You can create new ones with `schleuder cert generate`.
44
45
46
47
48
49
50
51
  tls_cert_file: /etc/schleuder/schleuder-certificate.pem
  tls_key_file: /etc/schleuder/schleuder-private-key.pem
  # List of api_keys to allow access to the API.
  # Example:
  # valid_api_keys:
  #   - abcdef...
  #   - zyxwvu...
  valid_api_keys: