1
0
forked from infra/ansible

mail: Setup postfix up for mailman3

This commit is contained in:
Kishi85 2020-02-29 19:09:37 +01:00
parent 60e4ce380d
commit 62ab99be4a
2 changed files with 12 additions and 4 deletions

View File

@ -18,7 +18,8 @@
- dovecot-sieve
- fcgiwrap
- mailman
- mailman3
- mailman3-full
- postgresql
- postfix
- postsrsd
- redis-server

View File

@ -11,6 +11,7 @@ inet_interfaces = all
inet_protocols = all
message_size_limit = 50000000
recipient_delimiter = +
owner_request_special = no
unknown_local_recipient_reject_code = 550
strict_rfc821_envelopes = yes
disable_vrfy_command = yes
@ -115,9 +116,15 @@ unverified_recipient_reject_code = 550
unverified_recipient_reject_reason = Recipient unknown
# mailman
relay_domains = {{ mailman_domain }}
relay_recipient_maps = hash:/var/lib/mailman/data/virtual-mailman
transport_maps = hash:/etc/postfix/transport
relay_domains =
hash:/var/lib/mailman3/data/postfix_domains
{{ mailman_domain }}
local_recipient_maps =
hash:/var/lib/mailman3/data/postfix_lmtp
hash:/var/lib/mailman/data/virtual-mailman
transport_maps =
hash:/var/lib/mailman3/data/postfix_lmtp
hash:/etc/postfix/transport
mailman_destination_recipient_limit = 1
# postsrsd