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 - dovecot-sieve
- fcgiwrap - fcgiwrap
- mailman - mailman
- mailman3 - mailman3-full
- postgresql
- postfix - postfix
- postsrsd - postsrsd
- redis-server - redis-server

View File

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