Kategorie: Server

  • Rollback Debian Upgrade

    A single Debian upgrade (apt-get upgrade) can be rolled back with the following command. The upgrade is identified by its date and time, which has to be looked up from /var/log/apt/history.log first. grep -A 2 ‚Start-Date: 2016-06-26 17:38:49‘ /var/log/apt/history.log | tail -1 | sed -r -e „s/Upgrade: //“ -e „s/([^:]+):amd64 \(([^,]+), [^,]+\),?/\1=\2/g“ | xargs apt-get […]

  • Interoperating Exim with Rspamd

    Recently I have been implementing Rspamd for providing some automatic filtering for the emails hosted on my server, which are presently delivered by Exim to the Dovecot LDA. For integrating Exim with Rspamd, I followed the Rspamd manual, but thing weren’t exactly working as expected. I was frequently getting error messages such as: Feb 7 […]

  • rsync problem & solution

    For rrsync (i.e. restricted rsync) to work, the remote user must have a proper login shell specified (i.e. not /bin/false).

  • Server Backup

    Endlich ein vernünftiges Backup für meinen Server: mit rsync auf den lokalen NAS.

  • Cachify HDD expiry

    Only recently I found out about the embedded Lua interpreter in Nginx and an immediate use came to my mind: why not use Lua to check validity of the Cachify harddisk (HDD) cache? Here is what I came up with.