add working hyperkitty config
This commit is contained in:
parent
8535013788
commit
3806ce3c56
3 changed files with 31 additions and 1 deletions
|
|
@ -3,6 +3,7 @@
|
||||||
name:
|
name:
|
||||||
- mailman3
|
- mailman3
|
||||||
- mailman3-web
|
- mailman3-web
|
||||||
|
- python3-mailman-hyperkitty
|
||||||
- lynx # needed to convert html mail
|
- lynx # needed to convert html mail
|
||||||
- python3-wheel
|
- python3-wheel
|
||||||
- python3-pip
|
- python3-pip
|
||||||
|
|
@ -39,3 +40,12 @@
|
||||||
mode: 0640
|
mode: 0640
|
||||||
owner: root
|
owner: root
|
||||||
group: www-data
|
group: www-data
|
||||||
|
|
||||||
|
- name: copy mailman-hyperkitty config
|
||||||
|
notify: restart mailman
|
||||||
|
template:
|
||||||
|
src: mailman-hyperkitty.py.j2
|
||||||
|
dest: /etc/mailman3/mailman-hyperkitty.py
|
||||||
|
mode: 0640
|
||||||
|
owner: root
|
||||||
|
group: list
|
||||||
|
|
|
||||||
20
templates/mailman-hyperkitty.py.j2
Normal file
20
templates/mailman-hyperkitty.py.j2
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
# This is the mailman extension configuration file to enable HyperKitty as an
|
||||||
|
# archiver. Remember to add the following lines in the mailman.cfg file:
|
||||||
|
#
|
||||||
|
# [archiver.hyperkitty]
|
||||||
|
# class: mailman_hyperkitty.Archiver
|
||||||
|
# enable: yes
|
||||||
|
# configuration: /etc/mailman3/mailman-hyperkitty.cfg
|
||||||
|
#
|
||||||
|
|
||||||
|
[general]
|
||||||
|
|
||||||
|
# This is your HyperKitty installation, preferably on the localhost. This
|
||||||
|
# address will be used by Mailman to forward incoming emails to HyperKitty
|
||||||
|
# for archiving. It does not need to be publicly available, in fact it's
|
||||||
|
# better if it is not.
|
||||||
|
base_url: http://localhost/mailman3/hyperkitty/
|
||||||
|
|
||||||
|
# Shared API key, must be the identical to the value in HyperKitty's
|
||||||
|
# settings.
|
||||||
|
api_key: {{ mailman.archiver.key }}
|
||||||
|
|
@ -276,7 +276,7 @@ configuration: python:mailman.config.postfix
|
||||||
#
|
#
|
||||||
# If you don't want to use HyperKitty, please comment them out.
|
# If you don't want to use HyperKitty, please comment them out.
|
||||||
|
|
||||||
#[archiver.hyperkitty]
|
[archiver.hyperkitty]
|
||||||
class: mailman_hyperkitty.Archiver
|
class: mailman_hyperkitty.Archiver
|
||||||
enable: yes
|
enable: yes
|
||||||
configuration: /etc/mailman3/mailman-hyperkitty.cfg
|
configuration: /etc/mailman3/mailman-hyperkitty.cfg
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue