Online demo Privacy policy GoBD notes Blog

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
current:installation [2020/02/23 14:34]
sj
current:installation [2021/03/09 19:30] (current)
sj
Line 9: Line 9:
   * openssl   * openssl
   * MySQL 5.5+, MariaDB or Percona   * MySQL 5.5+, MariaDB or Percona
-  * [[http://sphinxsearch.com/|sphinx search 3.x.x] (Sphinx 2.2.x is still supported)+  * [[http://sphinxsearch.com/|sphinx search 3.x.x]] (Sphinx 2.2.x is still supported)
   * php 7.x (with the following modules: LDAP, GD, Memcache, PDO, MySQL, CURL, Zip)   * php 7.x (with the following modules: LDAP, GD, Memcache, PDO, MySQL, CURL, Zip)
   * a rewriting rule capable webserver, eg. apache, lighttpd, nginx, ... (in case of apache be sure to enable the rewrite module)   * a rewriting rule capable webserver, eg. apache, lighttpd, nginx, ... (in case of apache be sure to enable the rewrite module)
Line 19: Line 19:
 **Highly recommended:** **Highly recommended:**
  
-  * tcp_wrappers 
   * [[http://www.wagner.pp.ru/~vitus/software/catdoc/|catdoc]]   * [[http://www.wagner.pp.ru/~vitus/software/catdoc/|catdoc]]
   * [[http://poppler.freedesktop.org/|pdftotext]]   * [[http://poppler.freedesktop.org/|pdftotext]]
Line 61: Line 60:
 <code> <code>
 groupadd piler groupadd piler
-useradd -g piler -m -s /bin/sh -d /var/piler piler+useradd -g piler -m -s /bin/bash -d /var/piler piler
 usermod -L piler usermod -L piler
 chmod 755 /var/piler chmod 755 /var/piler
Line 71: Line 70:
 tar zxvf piler-x.y.z.tar.gz tar zxvf piler-x.y.z.tar.gz
 cd piler-x.y.z cd piler-x.y.z
-./configure +./configure --localstatedir=/var --with-database=mysql
-        --localstatedir=/var +
-        --with-database=mysql +
 make make
 su -c 'make install' su -c 'make install'
Line 85: Line 81:
  
 <code> <code>
-sed 's/InnoDB/XtraDB/g' util/db-mysql.sql > a; mv a util/db-mysql.sql+sed -i 's/InnoDB/XtraDB/g' util/db-mysql.sql
 </code> </code>
  
Line 119: Line 115:
  
 Important! The 'hostid' parameter in piler.conf should be the hostname of piler, what is configured on your mailserver at always_bcc (see below). Eg. if you set archive@piler.yourdomain.com on your mailserver, then set hostid=piler.yourdomain.com in piler.conf Important! The 'hostid' parameter in piler.conf should be the hostname of piler, what is configured on your mailserver at always_bcc (see below). Eg. if you set archive@piler.yourdomain.com on your mailserver, then set hostid=piler.yourdomain.com in piler.conf
 +
 +If you have sphinx 2.2.x or less, then be sure to fix etc/sphinx.conf.dist and set the SPHINX_VERSION to 221 before running the postinstall.
  
 <code> <code>
Line 156: Line 154:
    /(.*)/   prepend X-Envelope-To: $1    /(.*)/   prepend X-Envelope-To: $1
 </code> </code>
 +
 +Note that such configuration might reveal Bcc addresses to the recipients in the To/Cc fields. To prevent it happening piler features the HEADER_LINE_TO_HIDE config.php variable to automatically hide the X-Envelope-To: line.
 +
 +When set (and the default is as seen below) it will hide such header lines from regular users on the GUI, only auditors are allowed to see all recipients, including the Bcc addresses.
 +
 +<code>
 +$config['HEADER_LINE_TO_HIDE'] = 'X-Envelope-To:';
 +</code>
 +
 +
  
 If you have Exim, then add the following at the beginning of the routers-section: If you have Exim, then add the following at the beginning of the routers-section:
Google Analytics Alternative