September 30, 2022

Sieve-Regeln ohne Thunderbird-Plugin anpassen

Vermutlich eher ein “Randgruppenthema”: Sieve ist ein System das eingehende Mails anhand von Filterregeln verarbeiten kann, z.B. automatisch löschen oder automatisiert eine Reply schicken (“Bin im Urlaub”). Wenn das System auf dem Mailserver installiert ist, können die Filter “von Remote” konfiguriert werden. Hierzu nutze ich normalerweise dieses Plugin für Thunderbird, aber Thunderbird hat in seiner Version 102 mal wieder irgendetwas geändert, sodass dieses (und andere) Plugins mal wieder monatelang kaputt sind. Read more

September 7, 2022

Running Your Own Matrix Homeserver

This is an updated and improved version of an article published in February 2021. Yesterday I played a bit with Synapse, the reference implementation of a Matrix homeserver. Matrix is a federated chat protocol that features end-to-end encryption and does not require a phone number. As the system is federated, everyone can run their own server but can still talk to users registered to other servers. So the situation is quite comparable to email. Read more

August 1, 2022

Blogging und Foto-Galerie-Software

(Ein Re-Post mit Aktualisierungen. Hier hatte sich tatsächlich ein unfertiger Bericht ins Rampenlicht gedrückt!) Normalerweise poste ich meine Bilder ja hier im Blog. Das ist recht nett, weil ich noch etwas unter die Bilder schreiben kann. Aber irgendwie ist das auch etwas mühselig obwohl ich ein Script habe, welches mir den Markdown-Code automatisch generiert und auch aus den EXIF-Tags die Ortsinformationen extrahiert. Auch wären zusätzliche Features wie eine Übersichtskarte mit allen Fotos nett oder die Anzeige von EXIF-Daten (Brennweite, Blende, usw. Read more

August 27, 2021

Dockerized HedgeDoc on a Raspberry Pi

HedgeDoc is a Web application that provides a collaborative notepad. Things like an online family notepad to write grocery lists or plan the next trip can be realized. It is pretty easy to self-host this tool on a Raspberry Pi using Docker. Unfortunately, there is no official Docker image for ARM. Instead one has to use the one from or build the image on your own. When testing the linuxserver. Read more

September 11, 2020

Using OneDrive on Mac or Linux for Backups

Recently I discovered that I have access to Office 365 through my university. I am not interested in Office 365 at all, but my subscription includes 5 Terra (yes!) Bytes of OneDrive storage. This has aroused my full interest. But: the official OneDrive client is not really what I want, because I don’t want to synchronize stuff from a folder on my hard drive with OneDrive. I would like to “mount” OneDrive and use a tool, preferably BorgBackup or something similar, to transfer encrypted snapshots to OneDrive. Read more

May 22, 2020

xtables-addons: How to fix 'Can't open DBIP database' Error

When you are using the 3.8-* version of xtables-addons to harden your server with a geofense, chances are super high that things don’t work anymore… The latest problem occurs after you have downloaded the geo-ip-tables from Maxmind and try to convert the tables for the geofense with xt_geoip_build. You get this error: Can't open DBIP database. The simple reason for this is that the developers of xtables-addons decided to get rid of Maxmind (maybe because they did that thing with the user accounts a couple of months ago? Read more

May 15, 2020

MSMTP: Sending Mail With a Linux Server

If you are running a Linux server, you probably want to enable that thing to send emails to you. This is useful, for instance, to tell you that someone got blocked by fail2ban. In earlier years, SSMTP has been a good candidate to achieve this kind of thing. Today, Debian, Raspbian, and probably Ubuntu server OSes have no packet for SSMTP anymore. However, you can use MSMTP to achieve the same thing. Read more

January 2, 2020

xt_geoip_dl vs. Maxmind Accounts

Since some time I use a geofence on my servers to ban all incoming requests that do not originate from DE. The company (Maxmind) that distributes up to date mappings from IP ranges to country codes (“geoip tables”) recently changed how they distribute these files. Now, you must have an account and license key to download the geoip tables. Note: everything is still free! The need for login credentials breaks the update mechanism for geoip tables which typically uses xt_geoip_dl. Read more

June 18, 2019

Extract Attachments From Email (mbox) using Python

Some days ago I had the idea to dig around in my mailbox and see what people have sent me over the years. As I was especially interested in the attachments (pictures) I googled a bit and found out you can quickly extract stuff from a mbox (used by a Dovecot SMTP server). Here’s what I cobbled together. #!/usr/bin/python import mailbox import dateutil.parser from datetime import datetime mbox = mailbox.mbox('/home/USER/mail/MAILBOX') def extractattachements(message): if message. Read more

June 11, 2019

A Song of Praise on Manjaro Linux (Gnome Edition)

As I am a friend of free and open source software I actually would love to use a Linux-based OS on my Laptop(s). However, after countless tries I must say that I am not a big friend of Linux on a notebook. I often found the system to be a bit fragile, things that “just work” on other OSes (like a Bluetooth keyboard, tethering or an external screen) can be a fight, if you have a bit of special hardware it can take ages to set it up, power management sometimes does not work properly (so your Laptop gets super hot while the battery is drained in no time)… At least, this is what I have experienced in the last years with Ubuntu or Ubuntu-based distributions running on my old MacBook Air from 2011. Read more

© ho1ger 2015 - 2022