![]() This page is part of the EmailServer article. SquirrelMail web interfaceSquirrelMail is the webmail interface that comes preloaded with Fedora. Make sure Apache is running By default, SquirrelMail is not accessible from https, and since our server will only be for mail, there is not need for appending the First get the original SquirrelMail Apache config file out of the way: # cd /etc/httpd/conf.d/ Then edit the <VirtualHost _default_:443> ... DocumentRoot "/usr/share/squirrelmail" ServerName mail.example.com <Directory /usr/share/squirrelmail> AllowOverride None Options ExecCGI Order allow,deny Allow from all </Directory> ... </Virtualhost> RewriteEngine on # Log the rewrites, just in case we need to debug (increase leve for verbosity) RewriteLog "/var/log/httpd/rewrite_log" RewriteLogLevel 0 RewriteCond %{HTTPS} off RewriteCond %{HTTP_HOST} ^(mail\..*)$ [NC] RewriteRule (^.*$) https://%1 [L,R] RewriteCond %{HTTP_HOST} ^webmail\.(.*)$ [NC] Now make sure that Apache will start at boot and start the service for now: # chkconfig --levels 235 httpd on
You should be able to access your email from anywhere securely through
Note: https connections require a digital certificate registered with a known authority. The certificate is only valid for one website and one IP address and you need to pay for it. If you don;t have a certificate, your users will receive a warning when trying to access the site. You will have to tell them not to worry about that if you don't want or can't have a certificate (if you're using dynamic IP for instance). The certificate is only necessary to confirms that the site using is really who it pretends to be, it doesn't affect the fact that communications are encrypted. < ClamAV | EmailServer | Firewall > Leave your comments below |