Mail-In-A-Box: Backups Optimisation
Changes to mailinabox/management/backup.py to increase the speed of the backup: # About line ~330 as of 04 Feb 2026: "--volsize", "1000",
Continue reading...<p>Solutions and thoughts on the journey to regain control over your data</p>
Changes to mailinabox/management/backup.py to increase the speed of the backup: # About line ~330 as of 04 Feb 2026: "--volsize", "1000",
Continue reading...This article uses Beget S3 as an example of a non-AWS S3 bucket. sudo apt-get update sudo apt-get install s3fs Set Up Auto Mount sudo mkdir /mnt/beget-s3 sudo vim /etc/s3fs-passwd <Access key>:<Secret key> sudo chmod 600 /etc/s3fs-passwd sudo vim /etc/fstab # add curldbg for troubleshooting…
Continue reading...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...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...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...