Need to migrate your e-mails to a new server? Free and paid versions of our online tool available.
Hero Image

Server Setup Guides

Configure OpenSMTPD on NetBSD 10

Configure OpenSMTPD on NetBSD 10

Install

# OpenBSD – built-in:
rcctl enable smtpd && rcctl start smtpd

# Other platforms:
# Ubuntu/Debian:
apt install opensmtpd
# AlmaLinux/RHEL:
dnf install opensmtpd
# Arch:
pacman -S opensmtpd

Basic /etc/mail/smtpd.conf

pki mail.example.com cert "/etc/ss...
7th May 2026

Harden SSH on NetBSD 10

Harden SSH on NetBSD 10

Back up config

cp /etc/ssh/sshd_config /etc/ssh/sshd_config.bak

Key settings (/etc/ssh/sshd_config)

Port 2222
PermitRootLogin no
PasswordAuthentication no
PubkeyAuthentication yes
AllowUsers deploy alice
Protocol 2
ClientAliveInterval 600
ClientAliveCountMax 0
X11Fo...
7th May 2026

Install Docker on NetBSD 10

Install Docker on NetBSD 10

Step 1 – Install

# Docker is not natively available on NetBSD 10.
# Consider running a Linux VM or using podman.

Step 2 – Add user to docker group

usermod -aG docker $USER && newgrp docker

Step 3 – Verify

docker --version
docker run --rm hello-world

Step 4 –

...
7th May 2026

Install Fail2Ban on NetBSD 10

Install Fail2Ban on NetBSD 10

Step 1 – Install

pkgin install py310-fail2ban
echo 'fail2ban=YES' >> /etc/rc.conf && service fail2ban start

Step 2 – /etc/fail2ban/jail.local

[DEFAULT]
bantime  = 3600
findtime = 600
maxretry = 5
banaction = iptables-multiport
ignoreip = 127.0.0.1/8 192.168.1.0...
7th May 2026

Install Gitea on NetBSD 10

Install Gitea on NetBSD 10

Step 1 – Create git user and download binary

useradd -r -m -d /home/git -s /bin/bash git
VERSION=1.22.0
wget -O /usr/local/bin/gitea https://dl.gitea.com/gitea/${VERSION}/gitea-${VERSION}-linux-amd64
chmod +x /usr/local/bin/gitea

Step 2 – Directories

mkdir -p /var/...
7th May 2026

Install Grafana on NetBSD 10

Install Grafana on NetBSD 10

Step 1 – Install

# Download from https://grafana.com/grafana/download

Step 2 – Access

http://your-server:3000 — default admin / admin (change immediately).

Step 3 – Add Prometheus data source

  1. Configuration → Data Sources → Add data source
  2. Select Pro...
7th May 2026

Install HAProxy on NetBSD 10

Install HAProxy on NetBSD 10

Step 1 – Install

pkgin install haproxy
echo 'haproxy=YES' >> /etc/rc.conf && service haproxy start

Step 2 – Basic /usr/pkg/etc/haproxy/haproxy.cfg

global
    log /dev/log local0
    chroot /var/lib/haproxy
    stats socket /run/haproxy/admin.sock mode 660 level...
7th May 2026