self-hosted (16)

<p>Solutions and thoughts on the journey to regain control over your data</p>

Ivan Matveyev

Mail-In-A-Box Back Up to Beget S3

Mailinabox supports S3 compatible storages. Below are the settings for the combination. For some reason when I put all the correct settings, I was getting a 'Contents' error which is a truncated KeyError: 'Contents' error from backup.py. I fixed it with adding a file to…

Continue reading...
Ivan Matveyev

Debian 13 Unattended Upgrades

Based on the official guide. # So updates to the package file do not overwrite your configuration sudo cp /etc/apt/apt.conf.d/50unattended-upgrades /etc/apt/apt.conf.d/52unattended-upgrades-local Non-commented lines: Unattended-Upgrade::Origins-Pattern { "origin=Debian,codename=${distro_codename}-updates"; "origin=Debian,codename=${distro_codename}-proposed-updates"; "origin=Debian,codename=${distro_codename},label=Debian"; "origin=Debian,codename=${distro_codename},label=Debian-Security"; "origin=Debian,codename=${distro_codename}-security,label=Debian-Security"; // "o=Debian Backports,n=${distro_codename}-backports,l=Debian Backports"; // Archive or Suite based matching: // Note that this will…

Continue reading...
Ivan Matveyev

LetsEncrypt on Debian 13 with CloudFlare

sudo apt-get install certbot python3-certbot-dns-cloudflare vim ~/.secrets/cloudflare.ini # Cloudflare API token used by Certbot dns_cloudflare_api_token = 0123456789abcdef0123456789abcdef01234567 sudo certbot certonly --dns-cloudflare --dns-cloudflare-credentials ~/.secrets/cloudflare.ini --dns-cloudflare-propagation-seconds 60 -d example.com -d *.example.com

Continue reading...