Muestra las diferencias entre dos versiones de la página.
Ambos lados, revisión anterior Revisión previa Próxima revisión | Revisión previa | ||
servidores:mail:mail_system_debian_stretch [2017/02/07 08:47] fmolinuevo [Postfix] |
servidores:mail:mail_system_debian_stretch [2019/05/12 00:10] fmolinuevo [SSL/TLS] |
||
---|---|---|---|
Línea 221: | Línea 221: | ||
<code>tlsmgr fifo - - n 300 1 tlsmgr | <code>tlsmgr fifo - - n 300 1 tlsmgr | ||
- | smtps inet n - n - - smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes | + | smtps inet n - n - - smtpd |
- | 587 inet n - n - - smtpd -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes</code> | + | -o syslog_name=postfix/smtps |
+ | -o smtpd_tls_wrappermode=yes | ||
+ | -o smtpd_sasl_auth_enable=yes | ||
+ | submission inet n - y - - smtpd | ||
+ | -o syslog_name=postfix/submission | ||
+ | -o smtpd_tls_security_level=encrypt | ||
+ | -o smtpd_sasl_auth_enable=yes | ||
+ | </code> | ||
This will enable TLS, the smtps port, and the dedicated port 587 for mail submission. | This will enable TLS, the smtps port, and the dedicated port 587 for mail submission. | ||
Línea 240: | Línea 247: | ||
# reindex all mailboxes (fulltext) daily | # reindex all mailboxes (fulltext) daily | ||
- | squattera cmd="/usr/sbin/squatter" at=0517 | + | squatter_a cmd="/usr/sbin/squatter" at=0517 |
This setup uses LMTP. The default socket set in the file should be fine. The line for sieve should already be uncommented, but check it just to be sure. Everything else in the file can stay the way it was. | This setup uses LMTP. The default socket set in the file should be fine. The line for sieve should already be uncommented, but check it just to be sure. Everything else in the file can stay the way it was. | ||
Línea 599: | Línea 606: | ||
This is a quick and simple recipe perhaps not enough for every server: | This is a quick and simple recipe perhaps not enough for every server: | ||
- | First, in php.ini for Apache, change the following: | + | First, in php.ini for Apache, change the following; modify for your needings: |
<code>date.timezone = America/Argentina/Buenos_Aires</code> | <code>date.timezone = America/Argentina/Buenos_Aires</code> | ||
- | - Install PEAR | + | Second, add locales for the language/s you need, for example, es_ES, en_US, and so: |
+ | |||
+ | <code>dpkg-reconfigure locales</code> | ||
+ | |||
+ | And, finally follow these steps: | ||
+ | |||
+ | - Install PEAR and many packages from Debian repositories: <code> | ||
+ | apt-get install php-pear ckeditor3 fonts-droid-fallback fonts-noto-mono ghostscript gsfonts imagemagick-6-common javascript-common libapache2-mod-php7.0 php7.0-intl php7.0-ldap php7.0-mbstring php7.0-mcrypt php7.0-soap php7.0-tidy php7.0-xmlrpc ttf-dejavu-core php7.0-gd php7.0-mysql php7.0-bz2 php7.0-cli php7.0-curl php7.0-imap php7.0-intl php7.0-mcrypt</code> | ||
- Install MySQL, and configure a database and user for Horde: <code> | - Install MySQL, and configure a database and user for Horde: <code> | ||
+ | apt-get install mysql-server | ||
+ | |||
# mysql -u root -p | # mysql -u root -p | ||
CREATE DATABASE horde; | CREATE DATABASE horde; | ||
Línea 616: | Línea 632: | ||
- Install Horde Webmail Edition: <code> | - Install Horde Webmail Edition: <code> | ||
pear install -a -B horde/webmail</code> | pear install -a -B horde/webmail</code> | ||
- | - Run installation script: <code> | + | - Run installation script. When asked, type "mysqli" support: <code> |
webmail-install</code> | webmail-install</code> | ||
- To install Horde Groupware Edition: <code> | - To install Horde Groupware Edition: <code> |