X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/1eafda5361195d887ba73c0a88f033c91aa4ad23..d8b2db0f1004d3496e6e64aafef506eb4f7e373a:/host_vars/template.yml diff --git a/host_vars/template.yml b/host_vars/template.yml index bd5ccb1..dbc47ef 100644 --- a/host_vars/template.yml +++ b/host_vars/template.yml @@ -1,4 +1,6 @@ postfix: + # postmaster email address + postmaster: postmaster@example.org # optional: Whether to put a postscreen on port 25 postscreen: True # optional: Open another SMTP daemon on port 26 that only accepts mail from local hosts @@ -8,8 +10,6 @@ postfix: # optional: Whether to accept emails for arbitrary destination on the submission port, # authenticated by dovecot. Requires a dovecot: section (see below). submission: True - # optional: Whether to install mailman and add it as a possible postfix transport. - mailman: True # optional: From which IPs to accept mail. mynetworks: '127.0.0.0/8 [::1]/128 203.0.113.0/24' # optional: List multiple outgoing transports using different IP addresses. @@ -41,12 +41,18 @@ postfix: transport: mailman - domain: example.org transport: lmtp:unix:private/dovecot-lmtp + # optional: install and configure mailman + mailman: + default_host: lists.example.org + default_lang: en # if you change this, also run "dpkg-reconfigure mailman" to enable more languages + domains: + - lists.example.org + 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" # optional: Install and configure dovecot dovecot: mysql_password: $RANDOM vmail_uid: 200 mail_gid: 8 - postmaster: postmaster@example.org quota: general: 1G trash: +10M