Install Squirrelmail

Install :

# apt-get install squirrelmail

Ups, I prefer latest version so I remove it.

# apt-get remove squirrelmail

Install from source :

# wget -c http://internode.dl.sourceforge.net/sourceforge/squirrelmail/squirrelmail-1.4.17.tar.gz

Extract :

# tar -xvzf squirrelmail-1.4.17.tar.gz –directory=/var/www/nginx-default

# mv /var/www/nginx-default/squirrelmail-1.4.17 /var/www/nginx-default/squirrelmail

Configure :

# cd /var/www/nginx-default/squirrelmail

# ./configure

Options :

1. Choose option “2. Server Settings“.
2. Choose option “1. Domain” and change it to your domain name.
3. Choose option “A. Update IMAP Settings” then option “5. IMAP Port” and change it to “993“.
4. Choose option “7. Secure IMAP (TLS)” and change it to “true” by pressing “y“.
5. Choose option “8. Server software” then type”dovecot” followed by the “ENTER” to set it.
6. Press “s” followed by the “ENTER” key to save.
7. Press “q” followed by the “ENTER” key to quit.

Create attachment folder :

# mkdir -p /var/local/squirrelmail/data

# chown -R www-data /var/local/squirrelmail/data

# mkdir -p /var/local/squirrelmail/attach/
# chown -R www-data /var/local/squirrelmail/attach/

Update  /etc/nginx/sites-enabled/default :

server {
listen          80;
server_name     mail.digitalfusi.com;

location / {
index index.php index.html;
root  /var/www/nginx-default/squirrelmail;
}
location ~ \.php$ {
fastcgi_pass    127.0.0.1:9000;
fastcgi_index   index.php;
fastcgi_param     SCRIPT_FILENAME     /var/www/nginx-default/squirrelmail$fastcgi_script_name;
include      fastcgi_params;
}

}

Edit /etc/php5/cgi/php.ini

Set magic_quotes_gpc = Off

save and restart nginx.

Finish,

http://mail.digitalfusi.com ready to serve.

squirrel

Incoming search terms for the article:

  • squirrelmail nginx
  • nginx squirrelmail
  • install Squirrelmail ubuntu
  • squirrelmail
  • squirrelmail install ubuntu
  • squirrelmail ubuntu server
  • ubuntu install squirrelmail
  • squirrelmail ubuntu server installation
  • install squirrelmail ubuntu server
  • ubuntu server squirrelmail
  • Pages

  • Download Ubuntu

  • Download Fedora

  • Tags

  • Categories

    • Translate to: