Block Ads with DNS in OPNsense

First, something of a rant so everyone knows why I wrote this article, feel free to skip it if you like. There has been a lot of interest in ad blocking lately. I blame most of it on greedy website owners that force their users to endure very intrusive ads to turn a profit. Annoying…


Mailserver: Restrictions – Part 8

In Part 8 of the Mailserver Configuration series, we are going to go over setting up restrictions in Postfix. Right now our mailserver does very little to verify the sender of a message. We are going to tell Postfix to see what IP address a message is coming from before accepting it, and if that…


Mailserver: Roundcube Configuration – Part 7

RoundCube Logo

Welcome to Part 7 of the Mailserver Configuration series. At this point if you have been following the series you should already have a fully functional mailserver. No email provider is complete though without a web-based email service. We are going to fill that gap in our mailserver with Roundcube. Get the files in place Roundcube…


Mailserver: Dovecot Configuration – Part 6

Dovecot Logo

Welcome to Part 6 of the mailserver configuration series. This part will cover installing and configuring Dovecot. Dovecot provides the IMAP and POP3 services for our mailserver. As always if you missed the previous parts of the Mailserver Configuration, you can find an Index of them all on Part 1 or at the end of this…


Mailserver: Configuring Filters – Part 5

Spamassassin ClamAV

Welcome to Part 5 of the Mailserver Configuration series in which we will cover Mail Filters. We will be using SpamAssassin to protect our users from Spam, and ClamAV to protect them from Viruses. I feel like I should mention this right away: These Filters will NOT stop everything, they just help reduce the amount of spam…


Mailserver: ViMbAdmin Configuration – Part 4

Welcome to Part 4 of the Mailserver setup guide. In this part we are going to be installing and configuring ViMbAdmin (vim-be-admin) to manage users and mailboxes, as well as the domains our mailserver will service. You can find more information about ViMbAdmin on their website here. If you missed the previous parts you can…


Install PHP 7 on CentOS 7 and 6

PHP 7

This guide will help you install or upgrade PHP 7 on your webserver. It involves adding fedora epel repositories so that you can use “yum” to install packages and updates. Keep in mind when upgrading that there were a lot of major changes in PHP version 7 and some of your web applications may not…


Mailserver: PostgreSQL Configuration – Part 3

PostgreSQL Logo

PostgreSQL Configuration is part 3 of the multi-part series guide to configuring a full-featured mailserver using only open-source software. If you haven’t seen the previous parts, you can find them by clicking Here for Part 1 and Here for Part 2. PostgreSQL To review, we will be using PostgreSQL because it is comparable to MySQL in performance,…


Mailserver: Postfix Configuration – Part 2

This is Part 2 of the Postfix Mailserver Configuration series, if you missed Part 1 you can read it here. Postfix Version Info By default CentOS 7 comes with Postfix, but the version it comes with only supports MySQL and not PostgreSQL. I am going to be using PostgreSQL because with the new versions it…


Mailserver: CentOS 7 Server Configuration – Part 1

Introduction This is a multi-part guide for configuring a full-featured mailserver. At the end of this guide you will have a mailserver capable of providing standard email services to multiple domains. I will be using Postfix, Dovecot, ViMbAdmin, and Roundcube. The mailserver will include Anti-Virus (AV) and Anti-Spam (AS) protection including real-time blacklist (RBL) checks. I…