From c77c167189c478b33f51e98f946e89e131f93fcf Mon Sep 17 00:00:00 2001 From: "root@culturestrings" Date: Thu, 10 Sep 2020 07:31:51 +0000 Subject: postfix: added initial DIY mailing-list support. --- public/fs/etc/postfix/main-cf.sh | 1 + public/fs/etc/postfix/main.cf.in | 3 +++ 2 files changed, 4 insertions(+) (limited to 'public/fs/etc') diff --git a/public/fs/etc/postfix/main-cf.sh b/public/fs/etc/postfix/main-cf.sh index da64a67..31b48b3 100755 --- a/public/fs/etc/postfix/main-cf.sh +++ b/public/fs/etc/postfix/main-cf.sh @@ -12,4 +12,5 @@ source /root/config/private/config/hostinfo/${sitezone} sed -e 's/@server_domains@/'"${server_domains}"'/g' \ -e 's/@smtphost@/'"${smtphost}"'/g' \ + -e 's/@mailing_lists@/'"${mailing_lists}"'/g' \ "${cfg_srcdir}/main.cf.in" diff --git a/public/fs/etc/postfix/main.cf.in b/public/fs/etc/postfix/main.cf.in index ea79fe4..9953c29 100644 --- a/public/fs/etc/postfix/main.cf.in +++ b/public/fs/etc/postfix/main.cf.in @@ -7,6 +7,9 @@ mydestination = $mydomain, localhost.$mydomain, localhost, @server_dom alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases +virtual_alias_domains = @mailing_lists@ +virtual_alias_maps = hash:/etc/virtual + compatibility_level = 2 relayhost = -- cgit v1.2.3