forked from data.coop/ansible
graffens experiments
This commit is contained in:
parent
f4054dcb01
commit
74e87af1fb
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
BASE_CMD="ansible-playbook playbook.yml -i datacoop_hosts --ask-vault-pass"
|
||||
BASE_CMD="ansible-playbook playbook.yml -i datacoop_hosts --vault-password-file ~/.vault_password_file"
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
echo "Deploying all!"
|
||||
|
|
10
roles/docker/files/mailman/mailman-extra.cfg
Normal file
10
roles/docker/files/mailman/mailman-extra.cfg
Normal file
|
@ -0,0 +1,10 @@
|
|||
[mta]
|
||||
incoming: mailman.mta.postfix.LMTP
|
||||
outgoing: mailman.mta.deliver.deliver
|
||||
# mailman-core hostname or IP from the Postfix server
|
||||
lmtp_host: localhost
|
||||
lmtp_port: 8024
|
||||
# Postfix server's hostname or IP from mailman-core
|
||||
smtp_host: smtp
|
||||
smtp_port: 25
|
||||
configuration: /etc/postfix-mailman.cfg
|
|
@ -6,5 +6,6 @@ owner_request_special = no
|
|||
virtual_mailbox_maps = regexp:/opt/mailman-core-data/postfix_lmtp \$virtual_alias_maps
|
||||
transport_maps = regexp:/opt/mailman-core-data/postfix_lmtp
|
||||
local_recipient_maps = regexp:/opt/mailman-core-data/postfix_lmtp
|
||||
relay_domains = regexp:/opt/mailman-core-data/postfix_domains
|
||||
always_add_missing_headers = yes
|
||||
local_header_rewrite_clients = permit_sasl_authenticated
|
|
@ -49,6 +49,12 @@
|
|||
dest: "{{ mailu.volume_folder }}/overrides/postfix.cf"
|
||||
mode: "0644"
|
||||
|
||||
- name: "[Mailman] copy mailman config"
|
||||
copy:
|
||||
src: mailman/mailman-extra.cfg
|
||||
dest: "{{ mailman.volume_folder }}/core/mailman-extra.cfg"
|
||||
mode: "0644"
|
||||
|
||||
- name: Start containers
|
||||
docker_compose:
|
||||
project_name: mail_server
|
||||
|
|
Loading…
Reference in a new issue