Commit 0bc71b45 authored by Marco Mariani's avatar Marco Mariani

working zimlets, opendkim and antivirus-mysql

parent ca3138c0
...@@ -340,12 +340,13 @@ install_cmd = ...@@ -340,12 +340,13 @@ install_cmd =
ln -sf jetty-distribution-* jetty ln -sf jetty-distribution-* jetty
ln -sf jetty-distribution-* mailboxd ln -sf jetty-distribution-* mailboxd
mkdir -p zimlets-deployed
mkdir -p data/tmp mkdir -p data/tmp
chmod 1777 data/tmp chmod 1777 data/tmp
mkdir backup ssl .ssh zmstat mkdir backup ssl .ssh zmstat
echo . ${:ZIMBRA_HOME}/.bashrc echo . ${:ZIMBRA_HOME}/.bashrc
echo ZIMBRA_INSTALLED_PKGS=\"${:PACKAGE_LIST}\" ${:ZIMBRA_HOME}/libexec/zmsetup.pl echo cd ${:ZIMBRA_HOME}; ZIMBRA_INSTALLED_PKGS=\"${:PACKAGE_LIST}\" ./libexec/zmsetup.pl
...@@ -382,6 +383,7 @@ install_cmd = ...@@ -382,6 +383,7 @@ install_cmd =
ln -sf rsync-* rsync ln -sf rsync-* rsync
ln -sf tcmalloc-* tcmalloc ln -sf tcmalloc-* tcmalloc
mkdir -p zimlets-deployed
mkdir -p data/tmp mkdir -p data/tmp
chmod 1777 data/tmp chmod 1777 data/tmp
mkdir -p data/ldap/config mkdir -p data/ldap/config
...@@ -392,7 +394,7 @@ install_cmd = ...@@ -392,7 +394,7 @@ install_cmd =
sudo -k sudo -k
echo . ${:ZIMBRA_HOME}/.bashrc echo . ${:ZIMBRA_HOME}/.bashrc
echo ZIMBRA_INSTALLED_PKGS=\"${:PACKAGE_LIST}\" ${:ZIMBRA_HOME}/libexec/zmsetup.pl echo cd ${:ZIMBRA_HOME}; ZIMBRA_INSTALLED_PKGS=\"${:PACKAGE_LIST}\" ./libexec/zmsetup.pl
...@@ -445,10 +447,14 @@ install_cmd = ...@@ -445,10 +447,14 @@ install_cmd =
mkdir -p data/postfix/spool/pid mkdir -p data/postfix/spool/pid
mkdir -p conf/sa mkdir -p conf/sa
mkdir -p zimlets-deployed
mkdir -p data/tmp mkdir -p data/tmp
chmod 1777 data/tmp chmod 1777 data/tmp
touch ${:ZIMBRA_HOME}/postfix/conf/main.cf touch ${:ZIMBRA_HOME}/postfix/conf/main.cf
cd ${:ZIMBRA_HOME}/mta
ln -sf mysql-* mysql
# allow executables to bind low ports # allow executables to bind low ports
sudo setcap 'cap_net_bind_service=+ep' ${:ZIMBRA_HOME}/postfix/libexec/master sudo setcap 'cap_net_bind_service=+ep' ${:ZIMBRA_HOME}/postfix/libexec/master
# allow executables to call chroot - appearently not needed # allow executables to call chroot - appearently not needed
...@@ -458,8 +464,11 @@ install_cmd = ...@@ -458,8 +464,11 @@ install_cmd =
# clear credential cache to spot commands in zmsetup.pl that would require sudo # clear credential cache to spot commands in zmsetup.pl that would require sudo
sudo -k sudo -k
# disable TLS for opendkim -> ldap connection
sed -i 's#LDAPUseTLS.*#LDAPUseTLS 0#g' ${:ZIMBRA_HOME}/conf/opendkim.conf.in
echo . ${:ZIMBRA_HOME}/.bashrc echo . ${:ZIMBRA_HOME}/.bashrc
echo ZIMBRA_INSTALLED_PKGS=\"${:PACKAGE_LIST}\" ${:ZIMBRA_HOME}/libexec/zmsetup.pl echo cd ${:ZIMBRA_HOME}; ZIMBRA_INSTALLED_PKGS=\"${:PACKAGE_LIST}\" ./libexec/zmsetup.pl
...@@ -526,11 +535,15 @@ install_cmd = ...@@ -526,11 +535,15 @@ install_cmd =
mkdir -p data/postfix/spool/pid mkdir -p data/postfix/spool/pid
mkdir -p conf/sa mkdir -p conf/sa
mkdir -p zimlets-deployed
mkdir -p data/tmp mkdir -p data/tmp
chmod 1777 data/tmp chmod 1777 data/tmp
touch ${:ZIMBRA_HOME}/postfix/conf/main.cf touch ${:ZIMBRA_HOME}/postfix/conf/main.cf
mkdir backup ssl .ssh zmstat mkdir backup ssl .ssh zmstat
cd ${:ZIMBRA_HOME}/mta
ln -sf mysql-* mysql
# allow executables to bind low ports # allow executables to bind low ports
sudo setcap 'cap_net_bind_service=+ep' ${:ZIMBRA_HOME}/openldap/sbin/slapd sudo setcap 'cap_net_bind_service=+ep' ${:ZIMBRA_HOME}/openldap/sbin/slapd
sudo setcap 'cap_net_bind_service=+ep' ${:ZIMBRA_HOME}/postfix/libexec/master sudo setcap 'cap_net_bind_service=+ep' ${:ZIMBRA_HOME}/postfix/libexec/master
...@@ -541,8 +554,11 @@ install_cmd = ...@@ -541,8 +554,11 @@ install_cmd =
# clear credential cache to spot commands in zmsetup.pl that would require sudo # clear credential cache to spot commands in zmsetup.pl that would require sudo
sudo -k sudo -k
# disable TLS for opendkim -> ldap connection
sed -i 's#LDAPUseTLS.*#LDAPUseTLS 0#g' ${:ZIMBRA_HOME}/conf/opendkim.conf.in
echo . ${:ZIMBRA_HOME}/.bashrc echo . ${:ZIMBRA_HOME}/.bashrc
echo ZIMBRA_INSTALLED_PKGS=\"${:PACKAGE_LIST}\" ${:ZIMBRA_HOME}/libexec/zmsetup.pl echo cd ${:ZIMBRA_HOME}; ZIMBRA_INSTALLED_PKGS=\"${:PACKAGE_LIST}\" ./libexec/zmsetup.pl
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment