forked from infra/ansible
mail: Setup postfix up for mailman3
This commit is contained in:
parent
2ecd06d066
commit
805fe16f48
@ -18,7 +18,8 @@
|
||||
- dovecot-sieve
|
||||
- fcgiwrap
|
||||
- mailman
|
||||
- mailman3
|
||||
- mailman3-full
|
||||
- postgresql
|
||||
- postfix
|
||||
- redis-server
|
||||
- redis-tools
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user