Sunday hike.

January 17, 2016



One night in Schimmerlos… #Regensburg

January 17, 2016





January 17, 2016


Regensburg DVB-T channels.conf file

December 27, 2011
An example channels.conf file for Regensburg, Germany DVB-T (sorted for my purpose):


Script autostart at boot time on Linux

December 8, 2011
(Just because I came across this several times during the last weeks being asked by Linux newbees. )
If you want to have a script, a command or a program run at autostart on Linux, put it into /etc/rc.local. On my Ubuntu or Mint systems this file has the following content:

#!/bin/sh -e                                                                        
# rc.local                                                                          
# This script is executed at the end of each multiuser runlevel.                    
# Make sure that the script will “exit 0” on success or any other                  
# value on error.                                                                  
# In order to enable or disable this script just change the execution              
# bits.                                                                            
# By default this script does nothing.                                              
exit 0   

If you add a line like echo “`date`: Hello, dude, I am just booting.” > /tmp/bootlog here, the next time your system starts you will find a timestamp followed by the nice greeting inside the file /tmp.bootlog:

Thu Dec  8 16:06:35 CET 2011: Hello, dude, I am just booting.

Mind that this only works on systems that (perhaps you’ll use locate rc.local) to check that) have the relevant init script /etc/init.d/rc.local on their hard drive. My Ubuntu/Mint systems have the test following test included:

do_start() {
        if [ -x /etc/rc.local ]; then
                [ “$VERBOSE” != no ] && log_begin_msg “Running local boot 
scripts (/etc/rc.local)”
                [ “$VERBOSE” != no ] && log_end_msg $ES
                return $ES

Basically, this test makes sure that it is executed if it exists. If you have symbolic links like these:


then this script will be run always on the start of runlevels 2,3,4 and 5. You can change that behaviour with the command update-rc.d (a very good manpage is available).

Spam-tagging russian encoded spam with sieve rules and its regex extension

November 27, 2011
Since a few weeks I have been receiving numerous e-mails in russian language. Sadly enough, I don’t speak Russian. However, about 20 or 30 mails per day made it through my three layers of spam detection. Two Spam Assassins, one at my provider (powered by the experience of several hundred domains), one on my own Cyrus IMAP server including my preferences and “personal experiences” plus (third level) a rather complex set of Sieve mail filtering rules could not prevent those mails from traveling to my Inbox.
From: “?koi8-r…”
Thus I had a look in the mails’ source code and found the “From:”-field starting with “?koi8-r?” like this:
From: =?koi8-r?B?18/azcXdxc7JxSDu5PM=?= <>
That’s perfectly enough for my Third Stage (no Boston here!). I just had to add the fifth line to my sieve script below – and now now more illegible Russian mails appear in my inbox. Okay, they now are in the “spam”-folder, but lateron I will just redirect the “fileinto”-command and have them rejected.
The Sieve part: 
require [ “fileinto”, “regex”, “reject” ];
if anyof (
 header :regex :comparator “i;ascii-casemap” [“Subject”, “From”, “To”, “Cc”, “Bcc”] “[.]*[vV]iagra[.]*”,
 header :regex :comparator “i;ascii-casemap” [“From”] “[.]*koi8-r[.]*”,
 header :contains [“X-Spam-Level”] “*****”
        fileinto “INBOX.spam” ;

Critical comments on Mono…

June 6, 2011

I recently found some rather critical comments on Mono, a free version of the .NET-framework that makes it possibile to develop cross-plattform. Being kicked out by Novell, the core developers of Mono founded their own company, Xamarin, and are on the way for a Mono foundation.

Wake up, little Suse

Parting Linux and Mono

Time For IBM i To Catch Mono–Again

I’ll add more as I find them…