~abompard/+junk/mailman-suite

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
#
# Buildout configuration for Mailman + Postorius + HyperKitty
#

[buildout]
parts =
    mailman-suite
    interpreter
    post-update-script
    config-files

# Change this to your site's URL:
site-url = http://lists.example.org/archives


[interpreter]
recipe = zc.recipe.egg
eggs =
    ${mailman-suite:eggs}
interpreter = py
dependent-scripts = true
initialization =
    import os
    os.environ['MAILMAN_CONFIG_FILE'] = '${buildout:directory}/mailman_suite/mailman.cfg'


[mailman-suite]
recipe = djangorecipe
project = mailman_suite
eggs =
    mailman
    postorius
    hyperkitty
control-script = mailman-web-django-admin
wsgi = true
wsgi-script = mailman-web.wsgi
settings = development


[post-update-script]
recipe = z3c.recipe.template
input = mailman_suite/post-update.sh.in
output = ${buildout:bin-directory}/mailman-post-update

[config-files]
recipe = z3c.recipe.filetemplate
files =
    mailman_suite/mailman-hyperkitty.cfg
    deployment/postfix-main.cf
    deployment/apache.conf
    deployment/mailman3.service