graffens experiments
This commit is contained in:
parent
7abd92517f
commit
1fb6f10433
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
|
virtual_mailbox_maps = regexp:/opt/mailman-core-data/postfix_lmtp \$virtual_alias_maps
|
||||||
transport_maps = regexp:/opt/mailman-core-data/postfix_lmtp
|
transport_maps = regexp:/opt/mailman-core-data/postfix_lmtp
|
||||||
local_recipient_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
|
always_add_missing_headers = yes
|
||||||
local_header_rewrite_clients = permit_sasl_authenticated
|
local_header_rewrite_clients = permit_sasl_authenticated
|
|
@ -49,6 +49,12 @@
|
||||||
dest: "{{ mailu.volume_folder }}/overrides/postfix.cf"
|
dest: "{{ mailu.volume_folder }}/overrides/postfix.cf"
|
||||||
mode: "0644"
|
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
|
- name: Start containers
|
||||||
docker_compose:
|
docker_compose:
|
||||||
project_name: mail_server
|
project_name: mail_server
|
||||||
|
|
Loading…
Reference in a new issue