diff options
author | root@culturestrings <root@culturestrings> | 2020-09-10 07:31:51 +0000 |
---|---|---|
committer | root@culturestrings <root@culturestrings> | 2020-09-10 07:31:51 +0000 |
commit | c77c167189c478b33f51e98f946e89e131f93fcf (patch) | |
tree | ff65641e11fae2ddec6d32d49bcdb7e13261842e /public/fs/etc | |
parent | e8868f5c84c910e13760374c432eea1f69aeae23 (diff) | |
download | culturestrings-c77c167189c478b33f51e98f946e89e131f93fcf.tar.bz2 culturestrings-c77c167189c478b33f51e98f946e89e131f93fcf.tar.xz |
postfix: added initial DIY mailing-list support.
Diffstat (limited to 'public/fs/etc')
-rwxr-xr-x | public/fs/etc/postfix/main-cf.sh | 1 | ||||
-rw-r--r-- | public/fs/etc/postfix/main.cf.in | 3 |
2 files changed, 4 insertions, 0 deletions
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 = |