Upgrading between major versions of Debian

Here I will document the process of upgrading from each major version release to the next. Between each version, there are subtle differences to watch for in each line of code. When a release is archived, the hostname changes and the <…> paths are removed. Some have naming convention changes. Also, it is a good idea to know the different […]

Debian based Self-Hosted UniFi Network Server

Install and setup base Debian server. I’m using Debian 12 for this install. Install required packages before you begin with the following command: Use the following command to add a new source list: Add the GPG Keys. Install libssl1.1 (required by mongodb) Install the correct version of MongoDB. Install and upgrade the UniFi Network application with the following command: The […]

Add SPF validation to Postfix

Installing and configuring postfix-policyd-spf-python on CentOS 6.11 While CentOS 6.11 is an older release, you can still install and configure postfix-policyd-spf-python to enhance your Postfix mail server’s SPF checking capabilities. Important: Before you begin, ensure you have the EPEL repository enabled on your CentOS 6.11 system, as postfix-policyd-spf-python may be available in this repository.Steps to install and configure: Install required […]

Fail2ban on OpenBSD 6.0

This is not my article. I found a link to the original article on a Reddit post: https://www.reddit.com/r/openbsd/comments/5e6u61/fail2ban_on_openbsd_60/ The page no-longer exists. I dug up an old copy of the page from the Internet Archive Wayback Machine. The original article was found here: https://blog.gordonturner.com/2016/11/20/fail2ban-on-openbsd-6-0/ Gordon, if this is your article, please forgive the reprint. If you have ever had a […]

Upgrade PostgreSQL 11 to 13

The newer version of Debian 11 comes with PostgreSQL 13. I have the original PostgreSQL 11 running with all my data. Now I’m going to walk through the process of upgrading from PostgreSQL 11 to 13. Be aware this process will work when upgrading from PostgreSQL 9.6 to 11 or 13. Lets see what’s going on. Run pg_lsclusters to see […]

Configure Postfix to relay sub-domains

Configure Postfix to relay sub-domains

I found myself in need to having Postfix relay or forward an entire sub-domain to a remote server. My setup includes a number of test servers running my development installs of the Freeside Billing system. The setups need to be able to both send and receive email. Sending is for system email delivery. Receiving is mainly for the built-in Request […]