schleuder.yml 2.05 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 23 24 25 26 27 28
# Who is maintaining the overall schleuder installation and should be
# notified about severe problems with lists.
# This address should be a postmaster-like account, especially it should
# not be another schleuder list.
# Is also used as an envelope sender of admin notifications.
superadmin: root@localhost

29
# For these options see documentation for ActionMailer::smtp_settings, e.g. <http://api.rubyonrails.org/classes/ActionMailer/Base.html>.
30
smtp_settings:
paz's avatar
paz committed
31
  address: localhost
32 33 34 35 36 37 38
  port: 25
  #domain:
  #enable_starttls_auto:
  #openssl_verify_mode:
  #authentication:
  #user_name:
  #password:
39 40

# The database to use. Unless you want to run the tests you only need the `production`-section.
paz's avatar
paz committed
41 42 43
database:
  production:
    adapter:  'sqlite3'
paz's avatar
paz committed
44
    database: /var/lib/schleuder/db.sqlite
paz's avatar
paz committed
45
    timeout: 5000
46 47

api:
48
  host: localhost
49
  port: 4443
paz's avatar
paz committed
50
  # Certificate and key to use. You can create new ones with `schleuder cert generate`.
51 52 53 54 55 56 57 58
  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: