User Tools

Site Tools


squirrelmail

Squirrelmail

Installing SquirrelMail

apt-get install squirrelmail

/usr/sbin/squirrelmail-configure <br>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<br> 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

<VirtualHost mail.kartbuilding.net:80>

      ServerAdmin webmaster@localhost
      ServerName mail.kartbuilding.net
      RedirectMatch ^/$ https://mail.kartbuilding.net

</VirtualHost><br> <VirtualHost mail.kartbuilding.net:443>

           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
           <Directory />
                      Options FollowSymLinks Indexes MultiViews
                      AllowOverride None
           </Directory>
           SSLEngine On
           SSLCertificateFile /etc/apache2/ssl/apache.pem

</VirtualHost>

squirrelmail.txt · Last modified: 2022/07/19 20:13 by 127.0.0.1