diff options
-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 = |