====== Squirrelmail ======
====Installing SquirrelMail====
apt-get install squirrelmail
/usr/sbin/squirrelmail-configure
symlink squirrelmail to mail in /var/www
ln -s /usr/share/squirrelmail webmail
Open up port 143 for IMAP on localhost - no need for TLS or SSL - because on same server
Check Iptables file to make sure of this:
iptables -A INPUT -s 127.0.0.0 -p tcp --dport 143
Setting up Vhost in Apache for mail.kartbuilding.net
ServerAdmin webmaster@localhost
ServerName mail.kartbuilding.net
RedirectMatch ^/$ https://mail.kartbuilding.net
ServerAdmin webmaster@localhost
ServerName mail.kartbuilding.net
DocumentRoot /var/www/webmail
HostnameLookups Double
#CustomLog /var/log/apache2/access_misc.log combined
#ErrorLog /var/log/apache2/error_misc.log
Loglevel warn
Options FollowSymLinks Indexes MultiViews
AllowOverride None
SSLEngine On
SSLCertificateFile /etc/apache2/ssl/apache.pem