Spamassassin Email

Last Updated: April 01, 2016 03:39:06 PM
Created: March 13, 2016 12:00:00 AM

Ultimate Settings

Spam Tips


Apache SSL Config

Last Updated: May 18, 2016 10:24:12 PM
Created: August 15, 2015 12:00:00 AM

cd /etc/apache2/ssl

sudo openssl genrsa -des3 -out yourdomain.pkey 2048

sudo openssl rsa -in yourdomain.pkey -out yourdomain.key

sudo openssl req -new -key yourdomain.key -out yourdomain.csr

sudo openssl x509 -req -days 365 -in yourdomain.csr -signkey yourdomain.key -out yourdomain.crt

Add this to htaccess to redirect http to https

RewriteEngine On
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} ^yourdomain\.com$ [NC]
RewriteRule ^ ({REQUEST_URI} [L,R=301]

Open Sourceholic