not idle

Archive for the 'tutorial' Category

Maildrop & .mailfilter resending

Tuesday, July 21st, 2009

Spending long unnecessary time on the web searching for solution, how to resend or forward an email by maildrop in delivery mode, I finally found a solution, which is now shared with you…

if(/^To: blue@bla.com/)
{
xfilter “/usr/bin/reformail -I’Reply-To: blu@bla.com’”
cc ‘!test@bla.com’
to “$HOME/Maildir”
}

This sample will do the following: for each mail send to blue@bla.com it will first rewrite the [...]

Read the rest of this entry »

Nokia E71

Sunday, May 24th, 2009

The Nokia e71 is one of the best phones on the market. In the 2008 it was announced for the best phone. It’s good features are small and robust shape, querty keyboard, powerfull battery and nice look. So let’s see some detailed features…

Outlook & typing
It’s nice and slim. Dimensions are perfect to hold in your [...]

Read the rest of this entry »

Linux speed up

Thursday, November 6th, 2008

There has been an interesting discussion in the kernel mailing list on a subject that even though is not new, it never hit the masses because of ignorance and misjudgment. After all, anyone setting up a Linux server probably already makes use of the noatime fstab option whenever possible. atime is the culprit of writing [...]

Read the rest of this entry »

Writing custom Python metric modules for Ganglia

Wednesday, October 29th, 2008

First you have to make sure Python development package is installed on your system

# apt-get install python2.5-dev

I recommend adding –with-python=PATH parameter to the configure script when building Ganglia

# ./configure –with-python=/usr/bin/python2.5

To write a Python module you have to follow a template (sample below) and put the resulting Python module (.py) in ganglia/python_modules. A corresponding Python configuration [...]

Read the rest of this entry »