summaryrefslogtreecommitdiffstats
path: root/roles/mailman/templates/mm_cfg.py
diff options
context:
space:
mode:
Diffstat (limited to 'roles/mailman/templates/mm_cfg.py')
-rw-r--r--roles/mailman/templates/mm_cfg.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/mailman/templates/mm_cfg.py b/roles/mailman/templates/mm_cfg.py
new file mode 100644
index 0000000..539234a
--- /dev/null
+++ b/roles/mailman/templates/mm_cfg.py
@@ -0,0 +1,12 @@
+# -*- python -*-
+
+from Defaults import *
+import pwd, grp
+
+MAILMAN_UID = pwd.getpwnam('mailman')[2]
+MAILMAN_GID = grp.getgrnam('mailman')[2]
+
+DEFAULT_URL_HOST = "{{ mailman_webinterface }}"
+DEFAULT_EMAIL_HOST = "{{ mailman_prefix }}"
+
+add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)