Ivan Matveyev (10)

Debian 13: Configure Exim4 to deliver local mail to your external mail server

It's more convenient to read all your mail in one inbox. To have LogWatch or other reports delivered to your mailbox, Exim4 needs to be configured as smarthost. In my case Exim comes as a dependency of LogWatch. Exim configĀ /etc/exim4/update-exim4.conf.conf is below. dc_eximconfig_configtype='smarthost' dc_other_hostnames='HOSTNAME' dc_local_interfaces='127.0.0.1…

Continue reading...

Server Behind NAT: Dynamic DNS Updates

One of my machines is serving public users and it is behind NAT. Besides DHCP IP address reservation and Port Forwarding, it needed a hostname. I am using the below script to update the DDNS. #!/bin/bash IP_FILE="/tmp/ddns-ip.txt" # Try to get current IP, capture both…

Continue reading...

Mail-in-a-Box and Publii

Free open-source email self-hosting solution Mail-in-a-Box provides hosting for static HTML websites. Publii is a desktop-based CMS for Windows, Mac and Linux that makes creating static websites fast and hassle-free, even for beginners. Publii has a way to upload the data to the server using…

Continue reading...

How to setup fwknop to work with Mail-in-a-Box

Mail-in-a-Box provides a robust network security with fail2ban and ufw out of the box. However I do not like multiple sshd entries in my LogWatch (yes! SourceForge is alive in 2025!), so I decided to protect SSH with fwknop - a free and open source…

Continue reading...

Awesome GitHub Lists

If you are curious about anything mentioned below, click the link: Self-hosted solutions (track link, also read through the sidebar!) Free programming books Python Software developer roadmaps Mac

Continue reading...