---
title: "Server de correo con servicio Multi-pop en debian9"
url: "https://fcuba.net/threads/12043-server-de-correo-con-servicio-multi-pop-en-debian9"
forum: "Foro UIJ"
author: "Fitin"
published: "2018-03-21T17:45:58.000Z"
updated: "2018-04-28T13:44:56.000Z"
page: 1
pages: 1
---

# Server de correo con servicio Multi-pop en debian9

In [Foro UIJ](https://fcuba.net/forums/433-foro-uij.md), started by Fitin on 2018-03-21T17:45:58.000Z.

## Fitin, [2018-03-21T17:45:58.000Z](https://fcuba.net/threads/12043-server-de-correo-con-servicio-multi-pop-en-debian9#post-145369)

> Hola a todos los amigos del foro, quisiera saber si alguien tiene a la mano algún manual &quot;cubanizado&quot; sobre cómo montar un servidor de correo en debían(preferentemente) con el servicio multi-pop, en servers Windows es muy sencillo con el señor Mdaemon, pero en Linux como que la cosa se complica y existe muy escasa información al respecto en las redes cubanas.
>
> En espera de su atención.
> de Firefox?

## SploitDb, [2018-03-25T19:31:51.000Z](https://fcuba.net/threads/12043-server-de-correo-con-servicio-multi-pop-en-debian9#post-146393)

> Ya este post lo subí una vez, pero por problemas en la data base del server dio error. Intentemos nuevamente.
>
> Este es un script para instalar zimbra en Ubuntu pero lo único que varía es la descarga que debes hacer, en vez de coger los paquetes de Ubuntu toma los de debían 9. Es para un servidor virgen sin nada instalado aún, si ya tienes instalado el bind 9 puedes adaptar el script aunque te aconsejo montar un container con una instalación nueva.
> Te comente en el script donde es que tienes que poner tu dns padres pues el script está tirando contra los dns de Google y si no tienes una ip real no te es factible.
> Saludos y espero que le sirva de ayuda
>
> Bueno sin más te dejo el script y el cálculo para 200 usuarios con 100 Mb de buzón
> Datos totales de Usuarios: 19.53GB
> Instalación y ficheros Zimbra: 10GB
> Instalación y ficheros de Linux: 10GB
> Datos MySQL: 0.98GB
> Logs de Zimbra: 0.78GB
> Index de Zimbra: 4.88GB
> Backups: 73.88GB
> Total Disco: 120.05GB
>
> ```bash
> #!/bin/bash -x
> ## Preparing all the variables like IP, Hostname, etc, all of them from the container
> RANDOMHAM=$(date +%s|sha256sum|base64|head -c 10)
> RANDOMSPAM=$(date +%s|sha256sum|base64|head -c 10)
> RANDOMVIRUS=$(date +%s|sha256sum|base64|head -c 10)
> HOSTNAME=$(hostname -s)
>
> #Install a DNS Server
> if [ &quot;$4&quot; == &quot;bind&quot; ]; then
>     sudo apt-get update &amp;&amp; sudo apt-get install -y bind9 bind9utils bind9-doc
>     echo &quot;Installing Bind DNS Server&quot;
>     sed &quot;s/-u/-4 -u/g&quot; /etc/default/bind9 &gt; /etc/default/bind9.new
>     mv /etc/default/bind9.new /etc/default/bind9
>     rm /etc/bind/named.conf.options
> cat &lt;&lt;EOF &gt;&gt;/etc/bind/named.conf.options
> options {
> directory &quot;/var/cache/bind&quot;;
>
> listen-on { $2; }; # ns1 private IP address - listen on private network only
> allow-transfer { none; }; # disable zone transfers by default
> #cambiar los DNS por los tuyos
> forwarders {
> 8.8.8.8;
> 8.8.4.4;
> };
> auth-nxdomain no; # conform to RFC1035
> #listen-on-v6 { any; };
>
> };
> EOF
> cat &lt;&lt;EOF &gt;&gt;/etc/bind/named.conf.local
> zone &quot;$1&quot; {
>         type master;
>         file &quot;/etc/bind/db.$1&quot;;
> };
> EOF
> touch /etc/bind/db.$1
> cat &lt;&lt;EOF &gt;/etc/bind/db.$1
> \$TTL  604800
> @      IN      SOA    ns1.$1. root.localhost. (
>                                 2        ; Serial
>                         604800        ; Refresh
>                         86400        ; Retry
>                         2419200        ; Expire
>                         604800 )      ; Negative Cache TTL
>     ;
>     @     IN      NS      ns1.$1.
>     @     IN      A      $2
>     @     IN      MX     10     $HOSTNAME.$1.
>     $HOSTNAME     IN      A      $2
>     ns1     IN      A      $2
>     mail     IN      A      $2
>     pop3     IN      A      $2
>     imap     IN      A      $2
>     imap4     IN      A      $2
>     smtp     IN      A      $2
> EOF
>     sudo service bind9 restart
> fi
> if [ &quot;$4&quot; == &quot;dnsmasq&quot; ]; then
>     echo &quot;Installing dnsmasq DNS Server&quot;
>     sudo apt-get update &amp;&amp; sudo sudo apt-get install -y dnsmasq
>     echo &quot;Configuring DNS Server&quot;
>     mv /etc/dnsmasq.conf /etc/dnsmasq.conf.old
> cat &lt;&lt;EOF &gt;&gt;/etc/dnsmasq.conf
> server=8.8.8.8
> listen-address=127.0.0.1
> domain=$1
> mx-host=$1,$HOSTNAME.$1,0
> address=/$HOSTNAME.$1/$2
> EOF
>     sudo service dnsmasq restart
> else
>     echo &quot;Installing dnsmasq DNS Server&quot;
>     sudo apt-get update &amp;&amp; sudo sudo apt-get install -y dnsmasq
>     echo &quot;Configuring DNS Server&quot;
>     mv /etc/dnsmasq.conf /etc/dnsmasq.conf.old
> cat &lt;&lt;EOF &gt;&gt;/etc/dnsmasq.conf
> server=8.8.8.8
> listen-address=127.0.0.1
> domain=$1
> mx-host=$1,$HOSTNAME.$1,0
> address=/$HOSTNAME.$1/$2
> EOF
>     sudo service dnsmasq restart
> fi
> ##Preparing the config files to inject
>     echo &quot;Creating the Scripts files&quot;
>     mkdir /tmp/zcs &amp;&amp; cd /tmp/zcs
>     touch /tmp/zcs/installZimbraScript
> cat &lt;&lt;EOF &gt;/tmp/zcs/installZimbraScript
> AVDOMAIN=&quot;$1&quot;
> AVUSER=&quot;admin@$1&quot;
> CREATEADMIN=&quot;admin@$1&quot;
> CREATEADMINPASS=&quot;$3&quot;
> CREATEDOMAIN=&quot;$1&quot;
> DOCREATEADMIN=&quot;yes&quot;
> DOCREATEDOMAIN=&quot;yes&quot;
> DOTRAINSA=&quot;yes&quot;
> EXPANDMENU=&quot;no&quot;
> HOSTNAME=&quot;$HOSTNAME.$1&quot;
> HTTPPORT=&quot;8080&quot;
> HTTPPROXY=&quot;TRUE&quot;
> HTTPPROXYPORT=&quot;80&quot;
> HTTPSPORT=&quot;8443&quot;
> HTTPSPROXYPORT=&quot;443&quot;
> IMAPPORT=&quot;7143&quot;
> IMAPPROXYPORT=&quot;143&quot;
> IMAPSSLPORT=&quot;7993&quot;
> IMAPSSLPROXYPORT=&quot;993&quot;
> INSTALL_WEBAPPS=&quot;service zimlet zimbra zimbraAdmin&quot;
> JAVAHOME=&quot;/opt/zimbra/common/lib/jvm/java&quot;
> LDAPAMAVISPASS=&quot;$3&quot;
> LDAPPOSTPASS=&quot;$3&quot;
> LDAPROOTPASS=&quot;$3&quot;
> LDAPADMINPASS=&quot;$3&quot;
> LDAPREPPASS=&quot;$3&quot;
> LDAPBESSEARCHSET=&quot;set&quot;
> LDAPDEFAULTSLOADED=&quot;1&quot;
> LDAPHOST=&quot;$HOSTNAME.$1&quot;
> LDAPPORT=&quot;389&quot;
> LDAPREPLICATIONTYPE=&quot;master&quot;
> LDAPSERVERID=&quot;2&quot;
> MAILBOXDMEMORY=&quot;512&quot;
> MAILPROXY=&quot;TRUE&quot;
> MODE=&quot;https&quot;
> MYSQLMEMORYPERCENT=&quot;30&quot;
> POPPORT=&quot;7110&quot;
> POPPROXYPORT=&quot;110&quot;
> POPSSLPORT=&quot;7995&quot;
> POPSSLPROXYPORT=&quot;995&quot;
> PROXYMODE=&quot;https&quot;
> REMOVE=&quot;no&quot;
> RUNARCHIVING=&quot;no&quot;
> RUNAV=&quot;yes&quot;
> RUNCBPOLICYD=&quot;no&quot;
> RUNDKIM=&quot;yes&quot;
> RUNSA=&quot;yes&quot;
> RUNVMHA=&quot;no&quot;
> SERVICEWEBAPP=&quot;yes&quot;
> SMTPDEST=&quot;admin@$1&quot;
> SMTPHOST=&quot;$HOSTNAME.$1&quot;
> SMTPNOTIFY=&quot;yes&quot;
> SMTPSOURCE=&quot;admin@$1&quot;
> SNMPNOTIFY=&quot;yes&quot;
> SNMPTRAPHOST=&quot;$HOSTNAME.$1&quot;
> SPELLURL=&quot;http://$HOSTNAME.$1:7780/aspell.php&quot;
> STARTSERVERS=&quot;yes&quot;
> SYSTEMMEMORY=&quot;3.8&quot;
> TRAINSAHAM=&quot;ham.$RANDOMHAM@$1&quot;
> TRAINSASPAM=&quot;spam.$RANDOMSPAM@$1&quot;
> UIWEBAPPS=&quot;yes&quot;
> UPGRADE=&quot;yes&quot;
> USEKBSHORTCUTS=&quot;TRUE&quot;
> USESPELL=&quot;yes&quot;
> VERSIONUPDATECHECKS=&quot;TRUE&quot;
> VIRUSQUARANTINE=&quot;virus-quarantine.$RANDOMVIRUS@$1&quot;
> ZIMBRA_REQ_SECURITY=&quot;yes&quot;
> ldap_bes_searcher_password=&quot;$3&quot;
> ldap_dit_base_dn_config=&quot;cn=zimbra&quot;
> ldap_nginx_password=&quot;$3&quot;
> ldap_url=&quot;ldap://$HOSTNAME.$1:389&quot;
> mailboxd_directory=&quot;/opt/zimbra/mailboxd&quot;
> mailboxd_keystore=&quot;/opt/zimbra/mailboxd/etc/keystore&quot;
> mailboxd_keystore_password=&quot;$3&quot;
> mailboxd_server=&quot;jetty&quot;
> mailboxd_truststore=&quot;/opt/zimbra/common/lib/jvm/java/jre/lib/security/cacerts&quot;
> mailboxd_truststore_password=&quot;changeit&quot;
> postfix_mail_owner=&quot;postfix&quot;
> postfix_setgid_group=&quot;postdrop&quot;
> ssl_default_digest=&quot;sha256&quot;
> zimbraDNSMasterIP=&quot;&quot;
> zimbraDNSTCPUpstream=&quot;no&quot;
> zimbraDNSUseTCP=&quot;yes&quot;
> zimbraDNSUseUDP=&quot;yes&quot;
> zimbraDefaultDomainName=&quot;$1&quot;
> zimbraFeatureBriefcasesEnabled=&quot;Enabled&quot;
> zimbraFeatureTasksEnabled=&quot;Enabled&quot;
> zimbraIPMode=&quot;ipv4&quot;
> zimbraMailProxy=&quot;FALSE&quot;
> zimbraMtaMyNetworks=&quot;127.0.0.0/8 $2/32 [::1]/128 [fe80::]/64&quot;
> zimbraPrefTimeZoneId=&quot;America/Los_Angeles&quot;
> zimbraReverseProxyLookupTarget=&quot;TRUE&quot;
> zimbraVersionCheckInterval=&quot;1d&quot;
> zimbraVersionCheckNotificationEmail=&quot;admin@$1&quot;
> zimbraVersionCheckNotificationEmailFrom=&quot;admin@$1&quot;
> zimbraVersionCheckSendNotifications=&quot;TRUE&quot;
> zimbraWebProxy=&quot;FALSE&quot;
> zimbra_ldap_userdn=&quot;uid=zimbra,cn=admins,cn=zimbra&quot;
> zimbra_require_interprocess_security=&quot;1&quot;
> zimbra_server_hostname=&quot;$HOSTNAME.$1&quot;
> INSTALL_PACKAGES=&quot;zimbra-core zimbra-ldap zimbra-logger zimbra-mta zimbra-snmp zimbra-store zimbra-apache zimbra-spell zimbra-memcached zimbra-proxy&quot;
> EOF
>     touch /tmp/zcs/installZimbra-keystrokes
> cat &lt;&lt;EOF &gt;/tmp/zcs/installZimbra-keystrokes
> y
> y
> y
> y
> y
> n
> y
> y
> y
> y
> y
> y
> y
> y
> y
> EOF
> if [[ `lsb_release -rs` == &quot;16.04&quot; ]]; then
>     echo &quot;Downloading Zimbra Collaboration 8.7.11 for Ubuntu 16.04&quot;
>     wget https://files.zimbra.com/downloads/8.7.11_GA/zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956.tgz
>     tar xzvf zcs-*
>     echo &quot;Installing Zimbra Collaboration just the Software&quot;
>     cd /tmp/zcs/zcs-* &amp;&amp; ./install.sh -s &lt; /tmp/zcs/installZimbra-keystrokes
>     echo &quot;Installing Zimbra Collaboration injecting the configuration&quot;
>     /opt/zimbra/libexec/zmsetup.pl -c /tmp/zcs/installZimbraScript
>     su - zimbra -c &#039;zmcontrol restart&#039;
>     echo &quot;You can access now to your Zimbra Collaboration Server&quot;
>     echo &quot;Admin Console: https://&quot;$2&quot;:7071&quot;
>     echo &quot;Web Client: https://&quot;$2
> fi
> if [[ `lsb_release -rs` == &quot;14.04&quot; ]]; then
>     echo &quot;Downloading Zimbra Collaboration 8.7.11 for Ubuntu 14.04&quot;
>     wget https://files.zimbra.com/downloads/8.7.11_GA/zcs-8.7.11_GA_1854.UBUNTU14_64.20170531151956.tgz
>     tar xzvf zcs-*
>     echo &quot;Installing Zimbra Collaboration just the Software&quot;
>     cd /tmp/zcs/zcs-* &amp;&amp; ./install.sh -s &lt; /tmp/zcs/installZimbra-keystrokes
>     echo &quot;Installing Zimbra Collaboration injecting the configuration&quot;
>     /opt/zimbra/libexec/zmsetup.pl -c /tmp/zcs/installZimbraScript
>     su - zimbra -c &#039;zmcontrol restart&#039;
>     echo &quot;You can access now to your Zimbra Collaboration Server&quot;
>     echo &quot;Admin Console: https://&quot;$2&quot;:7071&quot;
>     echo &quot;Web Client: https://&quot;$2
> fi
> su - zimbra -c &#039;zmcontrol restart&#039;
> echo &quot;You can access now to your Zimbra Collaboration Server&quot;
> echo &quot;Admin Console: https://&quot;$2&quot;:7071&quot;
> echo &quot;Web Client: https://&quot;$2
> ```
>
> \[automerge\]1523407581\[/automerge\]
> Si me dejas una dirección de correo te lo puedo enviar porque con la nueva política de plagio no se puede copiar el script.
> Saludos

## Fitin, [2018-04-23T23:54:31.000Z](https://fcuba.net/threads/12043-server-de-correo-con-servicio-multi-pop-en-debian9#post-150835)

> Mándame todo a [copmarstgo@copmarstgo.alinet.cu](mailto:copmarstgo@copmarstgo.alinet.cu)

## Anonymous_old, [2018-04-28T13:44:56.000Z](https://fcuba.net/threads/12043-server-de-correo-con-servicio-multi-pop-en-debian9#post-151789)

> > Ya este post lo subí una vez, pero por problemas en la data base del server dio error. Intentemos nuevamente.
> > Este es un script para instalar zimbra en Ubuntu pero lo único que varía es la descarga que debes hacer, en vez de coger los paquetes de Ubuntu toma los de debían 9. Es para un servidor virgen sin nada instalado aún, si ya tienes instalado el bind 9 puedes adaptar el script aunque te aconsejo montar un container con una instalación nueva.
> > 
> > Te comente en el script donde es que tienes que poner tu dns padres pues el script está tirando contra los dns de Google y si no tienes una ip real no te es factible.
> > 
> > Saludos y espero que le sirva de ayuda
> > 
> > Bueno sin más te dejo el script y el cálculo para 200 usuarios con 100 Mb de buzón
> > 
> > Datos totales de Usuarios: 19.53GB
> > 
> > Instalación y ficheros Zimbra: 10GB
> > 
> > Instalación y ficheros de Linux: 10GB
> > 
> > Datos MySQL: 0.98GB
> > 
> > Logs de Zimbra: 0.78GB
> > 
> > Index de Zimbra: 4.88GB
> > 
> > Backups: 73.88GB
> > 
> > Total Disco: 120.05GB
> > 
> > ```
> > #!/bin/bash -x
> > ## Preparing all the variables like IP, Hostname, etc, all of them from the container
> > RANDOMHAM=$(date +%s|sha256sum|base64|head -c 10)
> > RANDOMSPAM=$(date +%s|sha256sum|base64|head -c 10)
> > RANDOMVIRUS=$(date +%s|sha256sum|base64|head -c 10)
> > HOSTNAME=$(hostname -s)
> > 
> > #Install a DNS Server
> > if [ "$4" == "bind" ]; then
> >    sudo apt-get update &amp;&amp; sudo apt-get install -y bind9 bind9utils bind9-doc
> >    echo "Installing Bind DNS Server"
> >    sed "s/-u/-4 -u/g" /etc/default/bind9 &gt; /etc/default/bind9.new
> >    mv /etc/default/bind9.new /etc/default/bind9
> >    rm /etc/bind/named.conf.options
> > cat &lt;&lt;EOF &gt;&gt;/etc/bind/named.conf.options
> > options {
> > directory "/var/cache/bind";
> > 
> > listen-on { $2; }; # ns1 private IP address - listen on private network only
> > allow-transfer { none; }; # disable zone transfers by default
> > #cambiar los DNS por los tuyos
> > forwarders {
> > 8.8.8.8;
> > 8.8.4.4;
> > };
> > auth-nxdomain no; # conform to RFC1035
> > #listen-on-v6 { any; };
> > 
> > };
> > EOF
> > cat &lt;&lt;EOF &gt;&gt;/etc/bind/named.conf.local
> > zone "$1" {
> >        type master;
> >        file "/etc/bind/db.$1";
> > };
> > EOF
> > touch /etc/bind/db.$1
> > cat &lt;&lt;EOF &gt;/etc/bind/db.$1
> > \$TTL  604800
> > @      IN      SOA    ns1.$1. root.localhost. (
> >                                2        ; Serial
> >                        604800        ; Refresh
> >                        86400        ; Retry
> >                        2419200        ; Expire
> >                        604800 )      ; Negative Cache TTL
> >    ;
> >    @     IN      NS      ns1.$1.
> >    @     IN      A      $2
> >    @     IN      MX     10     $HOSTNAME.$1.
> >    $HOSTNAME     IN      A      $2
> >    ns1     IN      A      $2
> >    mail     IN      A      $2
> >    pop3     IN      A      $2
> >    imap     IN      A      $2
> >    imap4     IN      A      $2
> >    smtp     IN      A      $2
> > EOF
> >    sudo service bind9 restart
> > fi
> > if [ "$4" == "dnsmasq" ]; then
> >    echo "Installing dnsmasq DNS Server"
> >    sudo apt-get update &amp;&amp; sudo sudo apt-get install -y dnsmasq
> >    echo "Configuring DNS Server"
> >    mv /etc/dnsmasq.conf /etc/dnsmasq.conf.old
> > cat &lt;&lt;EOF &gt;&gt;/etc/dnsmasq.conf
> > server=8.8.8.8
> > listen-address=127.0.0.1
> > domain=$1
> > mx-host=$1,$HOSTNAME.$1,0
> > address=/$HOSTNAME.$1/$2
> > EOF
> >    sudo service dnsmasq restart
> > else
> >    echo "Installing dnsmasq DNS Server"
> >    sudo apt-get update &amp;&amp; sudo sudo apt-get install -y dnsmasq
> >    echo "Configuring DNS Server"
> >    mv /etc/dnsmasq.conf /etc/dnsmasq.conf.old
> > cat &lt;&lt;EOF &gt;&gt;/etc/dnsmasq.conf
> > server=8.8.8.8
> > listen-address=127.0.0.1
> > domain=$1
> > mx-host=$1,$HOSTNAME.$1,0
> > address=/$HOSTNAME.$1/$2
> > EOF
> >    sudo service dnsmasq restart
> > fi
> > ##Preparing the config files to inject
> >    echo "Creating the Scripts files"
> >    mkdir /tmp/zcs &amp;&amp; cd /tmp/zcs
> >    touch /tmp/zcs/installZimbraScript
> > cat &lt;&lt;EOF &gt;/tmp/zcs/installZimbraScript
> > AVDOMAIN="$1"
> > AVUSER="admin@$1"
> > CREATEADMIN="admin@$1"
> > CREATEADMINPASS="$3"
> > CREATEDOMAIN="$1"
> > DOCREATEADMIN="yes"
> > DOCREATEDOMAIN="yes"
> > DOTRAINSA="yes"
> > EXPANDMENU="no"
> > HOSTNAME="$HOSTNAME.$1"
> > HTTPPORT="8080"
> > HTTPPROXY="TRUE"
> > HTTPPROXYPORT="80"
> > HTTPSPORT="8443"
> > HTTPSPROXYPORT="443"
> > IMAPPORT="7143"
> > IMAPPROXYPORT="143"
> > IMAPSSLPORT="7993"
> > IMAPSSLPROXYPORT="993"
> > INSTALL_WEBAPPS="service zimlet zimbra zimbraAdmin"
> > JAVAHOME="/opt/zimbra/common/lib/jvm/java"
> > LDAPAMAVISPASS="$3"
> > LDAPPOSTPASS="$3"
> > LDAPROOTPASS="$3"
> > LDAPADMINPASS="$3"
> > LDAPREPPASS="$3"
> > LDAPBESSEARCHSET="set"
> > LDAPDEFAULTSLOADED="1"
> > LDAPHOST="$HOSTNAME.$1"
> > LDAPPORT="389"
> > LDAPREPLICATIONTYPE="master"
> > LDAPSERVERID="2"
> > MAILBOXDMEMORY="512"
> > MAILPROXY="TRUE"
> > MODE="https"
> > MYSQLMEMORYPERCENT="30"
> > POPPORT="7110"
> > POPPROXYPORT="110"
> > POPSSLPORT="7995"
> > POPSSLPROXYPORT="995"
> > PROXYMODE="https"
> > REMOVE="no"
> > RUNARCHIVING="no"
> > RUNAV="yes"
> > RUNCBPOLICYD="no"
> > RUNDKIM="yes"
> > RUNSA="yes"
> > RUNVMHA="no"
> > SERVICEWEBAPP="yes"
> > SMTPDEST="admin@$1"
> > SMTPHOST="$HOSTNAME.$1"
> > SMTPNOTIFY="yes"
> > SMTPSOURCE="admin@$1"
> > SNMPNOTIFY="yes"
> > SNMPTRAPHOST="$HOSTNAME.$1"
> > SPELLURL="http://$HOSTNAME.$1:7780/aspell.php"
> > STARTSERVERS="yes"
> > SYSTEMMEMORY="3.8"
> > TRAINSAHAM="ham.$RANDOMHAM@$1"
> > TRAINSASPAM="spam.$RANDOMSPAM@$1"
> > UIWEBAPPS="yes"
> > UPGRADE="yes"
> > USEKBSHORTCUTS="TRUE"
> > USESPELL="yes"
> > VERSIONUPDATECHECKS="TRUE"
> > VIRUSQUARANTINE="virus-quarantine.$RANDOMVIRUS@$1"
> > ZIMBRA_REQ_SECURITY="yes"
> > ldap_bes_searcher_password="$3"
> > ldap_dit_base_dn_config="cn=zimbra"
> > ldap_nginx_password="$3"
> > ldap_url="ldap://$HOSTNAME.$1:389"
> > mailboxd_directory="/opt/zimbra/mailboxd"
> > mailboxd_keystore="/opt/zimbra/mailboxd/etc/keystore"
> > mailboxd_keystore_password="$3"
> > mailboxd_server="jetty"
> > mailboxd_truststore="/opt/zimbra/common/lib/jvm/java/jre/lib/security/cacerts"
> > mailboxd_truststore_password="changeit"
> > postfix_mail_owner="postfix"
> > postfix_setgid_group="postdrop"
> > ssl_default_digest="sha256"
> > zimbraDNSMasterIP=""
> > zimbraDNSTCPUpstream="no"
> > zimbraDNSUseTCP="yes"
> > zimbraDNSUseUDP="yes"
> > zimbraDefaultDomainName="$1"
> > zimbraFeatureBriefcasesEnabled="Enabled"
> > zimbraFeatureTasksEnabled="Enabled"
> > zimbraIPMode="ipv4"
> > zimbraMailProxy="FALSE"
> > zimbraMtaMyNetworks="127.0.0.0/8 $2/32 [::1]/128 [fe80::]/64"
> > zimbraPrefTimeZoneId="America/Los_Angeles"
> > zimbraReverseProxyLookupTarget="TRUE"
> > zimbraVersionCheckInterval="1d"
> > zimbraVersionCheckNotificationEmail="admin@$1"
> > zimbraVersionCheckNotificationEmailFrom="admin@$1"
> > zimbraVersionCheckSendNotifications="TRUE"
> > zimbraWebProxy="FALSE"
> > zimbra_ldap_userdn="uid=zimbra,cn=admins,cn=zimbra"
> > zimbra_require_interprocess_security="1"
> > zimbra_server_hostname="$HOSTNAME.$1"
> > INSTALL_PACKAGES="zimbra-core zimbra-ldap zimbra-logger zimbra-mta zimbra-snmp zimbra-store zimbra-apache zimbra-spell zimbra-memcached zimbra-proxy"
> > EOF
> >    touch /tmp/zcs/installZimbra-keystrokes
> > cat &lt;&lt;EOF &gt;/tmp/zcs/installZimbra-keystrokes
> > y
> > y
> > y
> > y
> > y
> > n
> > y
> > y
> > y
> > y
> > y
> > y
> > y
> > y
> > y
> > EOF
> > if [[ `lsb_release -rs` == "16.04" ]]; then
> >    echo "Downloading Zimbra Collaboration 8.7.11 for Ubuntu 16.04"
> >    wget https://files.zimbra.com/downloads/8.7.11_GA/zcs-8.7.11_GA_1854.UBUNTU16_64.20170531151956.tgz
> >    tar xzvf zcs-*
> >    echo "Installing Zimbra Collaboration just the Software"
> >    cd /tmp/zcs/zcs-* &amp;&amp; ./install.sh -s &lt; /tmp/zcs/installZimbra-keystrokes
> >    echo "Installing Zimbra Collaboration injecting the configuration"
> >    /opt/zimbra/libexec/zmsetup.pl -c /tmp/zcs/installZimbraScript
> >    su - zimbra -c 'zmcontrol restart'
> >    echo "You can access now to your Zimbra Collaboration Server"
> >    echo "Admin Console: https://"$2":7071"
> >    echo "Web Client: https://"$2
> > fi
> > if [[ `lsb_release -rs` == "14.04" ]]; then
> >    echo "Downloading Zimbra Collaboration 8.7.11 for Ubuntu 14.04"
> >    wget https://files.zimbra.com/downloads/8.7.11_GA/zcs-8.7.11_GA_1854.UBUNTU14_64.20170531151956.tgz
> >    tar xzvf zcs-*
> >    echo "Installing Zimbra Collaboration just the Software"
> >    cd /tmp/zcs/zcs-* &amp;&amp; ./install.sh -s &lt; /tmp/zcs/installZimbra-keystrokes
> >    echo "Installing Zimbra Collaboration injecting the configuration"
> >    /opt/zimbra/libexec/zmsetup.pl -c /tmp/zcs/installZimbraScript
> >    su - zimbra -c 'zmcontrol restart'
> >    echo "You can access now to your Zimbra Collaboration Server"
> >    echo "Admin Console: https://"$2":7071"
> >    echo "Web Client: https://"$2
> > fi
> > su - zimbra -c 'zmcontrol restart'
> > echo "You can access now to your Zimbra Collaboration Server"
> > echo "Admin Console: https://"$2":7071"
> > echo "Web Client: https://"$2
> > ```
> > 
> > \[automerge\]1523407581\[/automerge\]
> > 
> > Si me dejas una dirección de correo te lo puedo enviar porque con la nueva política de plagio no se puede copiar el script.
> > 
> > Saludos
>
> Yo también tengo una configuración si no te funciona esta escríbeme y te la hare llegar.
