*(note: If you couldn't install, the same is being sent with the emexis package)
$ tar -xvzf emexis3.tar.gz
$ vi config_imap.php
$imapServerAddress = '127.0.0.1'; #Address of IMAP Server
$imapPort = 143;
$vi config_smtp.php
$smtpServerAddress = '127.0.0.1'; #Address of SMTP Server
$smtpPort = 25;
$ vi config_database.php
$dsn_pear = 'pgsql://user:password@host:port/database'
E.g.: 'pgsql://postgres:postgres@localhost:5432/emexiswebmail'
$ vi config_general.php
$attachment_dir = '/var/www/attach'; #Is the temporary file of the attachments. Verify if it has wrinting permission
$ vi config_server.php
$domain = ' example' //Domain name
$squirrelmail_default_language = 'pt_BR'; #Webmail Language
To create the database you must to be the base user. Normally this user is the 'postgres'. If doesn't exist a database, you can create one using the 'postgres.sql' contained in the folder "SCHEMA" of the available package.
$ createuser emexis
$ createdb -O emexis emexiswebmail
$ psql emexiswebmail
emexis =# ALTER USER emexis WITH PASSWORD 'the_new_password';
emexis => \i schema/postgres.sql