]> git.ralfj.de Git - ansible.git/blob - host_vars/template.yml
document mailman captcha settings in template
[ansible.git] / host_vars / template.yml
1 postfix:
2   # postmaster email address
3   postmaster: postmaster@example.org
4   # optional: Hostname of this email system
5   hostname: mail.example.org
6   # optional: Whether to put a postscreen on port 25
7   postscreen: True
8   # optional: Open another SMTP daemon on port 26 that only accepts mail from local hosts
9   # (and whitelisted client certs, if applicable).  Useful when the source of the mail is in
10   # a network that blocks port 25 outgoing.
11   smtpd_26: True
12   # optional: Whether to accept emails for arbitrary destination on the submission port,
13   # authenticated by dovecot.  Requires a dovecot: section (see below).
14   submission: True
15   # optional: From which IPs to accept mail.
16   mynetworks: '127.0.0.0/8 [::1]/128 203.0.113.0/24'
17   # optional: Domains for which to receive emails and forward according to virtual_alias_map.
18   alias_domains: staff.example.org
19   # optional: Hostnames and SHA1 certificate hashes that are allowed to relay email via this host.
20   relay_client_cert_whitelist:
21     - hostname: other.example.org
22       cert: 00:11:22:33:44:55:66:77:88:99:AA:BB:CC:DD:EE:FF:00:11:22:33
23   # optional: Configure a host to relay all outgoing email to.
24   # Incompatible with smtp_outgoing.
25   relay_host: mx.example.org
26   # optional: Files in /etc/postfix ($FILE.crt, $FILE.key) to use as client certificates when
27   # relaying to the relay_host.
28   relay_client_cert: client_cert
29   # optional: List multiple outgoing transports using different IP addresses.
30   # Requires default_smtp_outgoing to be set to one of them.  The file
31   # /etc/postfix/sender_transport_map on the server can be used to configure
32   # which transport is used depending on the sender address.
33   smtp_outgoing:
34     - name: smtp1
35       hostname: one.example.org
36       ip: 203.0.113.1
37       ip_v6: 2001:DB8::1
38     - name: smtp2
39       hostname: two.example.org
40       ip: 203.0.113.2
41   default_smtp_outgoing: smtp1
42   # optional: Enabled opendkim for incoming and outgoing DKIM support.
43   opendkim:
44     # list of private keys
45     private_keys:
46     - example.org
47     # table mapping outgoing domains to the private key used for signing mail
48     signing_table:
49       example.org: example.org
50       lists.example.org: example.org
51   # optional: install and configure mailman
52   mailman:
53     default_host: lists.example.org
54     smtp_outgoing: smtp2
55     default_lang: en # if you change this, also run "dpkg-reconfigure mailman" to enable more languages
56     domains: # the file /etc/postfix/virtual_alias_map can be used to configure aliases
57     - lists.example.org
58     default_footer: "-- \n%(list_name)s@%(host_name)s - %(description)s\nConfiguration: %(web_page_url)slistinfo%(cgiext)s/%(list_name)s\nUnsubscribe: %(list_name)s-unsubscribe@%(host_name)s\n"
59     form_secret: $RANDOM
60     captcha:
61     - question: 'question'
62       answers:
63       - 'answer1'
64       - 'answer2'
65   # optional: Install and configure dovecot
66   dovecot:
67     domains: # the file /etc/postfix/virtual_alias_map can be used to configure aliases
68     - example.org
69     mysql_password: $RANDOM
70     vmail_uid: 200
71     mail_gid: 8
72     quota:
73       general: 1G
74       trash: +10M
75     # Hostname used for both web access (to changepw) and SMTP/IMAP servers in emails
76     # sent by newmail script.
77     host: mail.example.org
78     # optional: Where to generate a CGI script that users can use to change their password
79     changepw_cgi: /srv/mail.example.org/cgi/changepw
80
81 apache:
82   default_host: www.example.org
83   webmaster: webmaster@example.org
84   server_name: web.example.org
85
86 prosody:
87   host: jabber.example.org
88   admins:
89   - admin@jabber.example.org
90
91 bind:
92   # which IPv4 address to listen on
93   listen: 203.0.113.1
94   # optional: which IPv4 address to listen on
95   listen_v6: 2001:DB8::1
96
97 etherpad:
98   domain: pad.example.org
99   default_text: "Welcome to Etherpad!\\n\\nThis pad text is synchronized as you type, so that everyone viewing this page sees the same text. This allows you to collaborate seamlessly on documents!\\n\\nGet involved with Etherpad at http:\/\/etherpad.org\\n"
100   # Also see <https://github.com/ether/etherpad-lite/issues/3959> for some database configuration advice!
101   mysql_password: $RANDOM
102   admin_password: $RANDOM