Breaking News

I broke some stuff today.

Today I’ll be extra careful on my way home. So far I have – after just having recovered from a database crash – deleted an important table on my blog. Luckily only after making a complete backup.

Later I managed to ‘rm -r *’ one directory higher up in the hierarchy than I thought I was. Lucky again, I noticed before all the data was deleted because my -hacked- local java install was not writable and asked wether I wanted to delete the files. I was then able to rsync the missing data from another host in the same cluster.

I guess today’s luck is used up.

Update: to top it all, when going home I wanted to lock my screen and instead of ctrl-alt-l for the lock ein managed to hit ctrl-alt-backspace .. killing my X-windows … yay me …

Quick Mail Filtering

Lately I’ve been busy getting my mailboxes cleaned up. One of the most important things to process mails quickly is filtering. Since I read my mail from different computers at work and at home I am mostly depending on sieve-based serverside filters. Those are either edited in a web-based gui or as textfiles. On my private mail account the admins were nice and installed websieve which allows to switch to full text editing without using the noob-gui. Thanks.

At work we have smartsieve. You cannot turn off the gui. Which means: I would have to edit every single rule with a web form … not good. Today I found a little tool called sieveshell which allows easy uploading and activating of textfiles as sievescripts. Just install sieveshell (comes with the cyrus-admin-xyz package in ubuntu), write your mailfilter and your nearly done:

sieveshell --user=youruser --authuser=youruser --execfile=sieve-commandos.txt your.server.address

The file sieve-commandos.txt contains just 2 lines, I need this one for further automation so I do not have to use the shell interactively.

put myfilters.siv
activate myfilters.siv

Finally I made a bash alias for the commando and now I can easily upload my mailfilters anytime … I keep the file open in my editor of choice (if yours is emacs, emacs has a built-in sieve-upload thingy – but then you can probably cook coffee with emacs as well). By the way: if you upload a script that has syntax errors the server will tell you! So if it stays quiet everything is fine 😉

This was the only option (emacs does not count) I found to upload filters to the server without use of some web-gui. It’s not so bad if you have websieve but with smartsieve I found no way to just write some text …

Stumbling over ssh

Naturally this stumbling happened just after me saying “Oh I think I have finally worked out how system XYZ …”

So my new linux distribution (ubuntu in case I had not mentionned) does not install sshd by default. It took me just about half an hour to realize that one.

Of course why should a desktop workstation need sshd running … so it’s probably wise to not install it by default.

Frisches Linux

So. Nachdem Umzug und dem BĂŒroumzug hab ich auch mal auf meinem Arbeitsrechner abgestaubt und das etwas chaotische und nach 4 Jahren ziemlich zugemĂŒllte Debian durch ein schönes neues buntes Ubuntu ersetzt. Das ging sehr einfach. Allerdings habe ich trotz Backups eine ganze Menge Kleinigkeiten, die ich nun wieder einstellen muss. Und schon wieder die falsche IP.


Nun auch wieder auf der Arbeit, nach 2 Wochen Urlaub und 1 Woche krank sein. Den heutigen Tag habe ich mit dem Versuch meinen Rechner ans Netz zu kriegen verbracht. Nach ca. 4 Stunden hat sich rausgestellt, dass die Netzwerkdose einfach nicht freigeschaltet war. Ein bisschen bÀh das.

Ich hĂ€tte beinahe schon angefangen neu zu installieren. Grml. Immerhin war es easy den Grafikkartentreiber von nvidia auf ati umzustellen, da nach dem BĂŒroumzug meine Grafikkarte den Geist aufgegeben hatte.