Grep emailaddress from IMAP dir with UNDELIVERABLE messages


You send newsletter and get a hole buns of UNDELIVERABLE email back in your INbox. You find this irritating and want to cleanup your newsletter database.

To do so you probably need a list with all email addresses you want to un-subscribe.


  • First create a new IMAP directory.

Vtiger Pop-Up in Thunderbird "Session timed-out, successfully logged in again" every 25 minutes


Using Thunderbird 3.1.9 and Vtiger vtigercrm-5.2.0.

How To Get rid of the redirect in search result Google to Gomeo website

One of my client notified that when she clicked on the Google search results she was re-directed to a other website than mentioned in the results. Al redirects went to the website

I noticed that not all click on the links where re-directed to Gomeo. Two out of three click where redirected to Gomeo while the other click landed on the correct page.

Forward Google calendar invitation to the right account

The problem
I have multiple email addresses and a Google calendar.
I sync the Google calander with my PC, laptop and iPhone. On my Linux PC and laptop I use Thunderbird to sync my calendar and on my iPhone 4 the standard Apple calendar app as pre-installed on the iPhone.

HowTo Setup Basic SMTP AUTH in Exim4

This brief guide will explain the steps you can take to get basic SMTP AUTH working with Debian Sarge's exim4 package. (For users connecting to your server, not for forwarding via your ISP)

First of all generate an Exim SSL certificate:

# /usr/share/doc/exim4-base/examples/exim-gencert

Now edit /etc/exim4/exim4.conf.template using your favourite text editor.

Drupal 6 Different page templates depending on URL aliases

Place this code in your template.php file if you want u use different templates for the same code.

Create a template named page-SOMETING-tpl.php
Create a url alias node/NID SOMETHING

function phptemplate_preprocess_page(&$vars) {
if (module_exists('path')) {
$alias = drupal_get_path_alias(str_replace('/edit','',$_GET['q']));
if ($alias != $_GET['q']) {

Download a Youtube video and rip the audio


Suppose you want the audio track from a YouTube video.
This is how you do that.

Linux command to download a flv YouTube video


Now rip the audio from the flv file

mplayer -dumpaudio file.flv -dumpfile file.mp3

Damn...I like Linux :)

Cheat sheet Screen


Screen Home:

-ctrl a c -> create new window
-ctrl a A -> set window name
-ctrl a w -> show all window
-ctrl a 1|2|3|... -> switch to window n
-ctrl a " -> choose window
-ctrl a ctrl a -> switch between window
-ctrl a d -> detach window
-ctrl a ? -> help

UserOwner, GroupOwner in ProFTPd doesn't work

If you van to use UserOwner and/or GroupOwner to change the user and group on directorie and file credentials at upload by FTP (ProFTPd) the this won't work out of the box.


<Directory /path/to/dir>
    GroupOwner uploaders
    UserOwner  uploaders

No Preview Images in Drupal 6.x ImageCache


If you have no preview images in ImageCache under Drupal 6.x than is's possible that you do not have clean URL Enabled. ImageChache doesn't work with Clean URL Disabled.

Check: Admin --> Site configuration --> Clean URLs.

If "Disabled" switch to "Enabled"