Install Kolab Mail Server on Ubuntu

This post will show you how to install Kolab mail server on ubuntu 14.04, in this example on a DigitalOcean VPS.  Kolab’s recipient policy will be removed because I do not need guaranteed unique email addresses, secondary alias addresses setup etc. DKIM is another important factor when configuring a mail server as it allows other mail servers to validate the authenticity of you emails. There are many useful plugins available for roundcube such as integration with Google Authenticator app. For sources see the reference section at the end.

Install Kolab

The first step is to install Kolab on the VPS. Add the following to /etc/apt/sources.list.d/kolab.list using nano or similar.

We need to import the authentication key to validate the packages. Run these commands.

To make sure the Ubuntu server priorities the packages from the Kolab repository we need to create a preferences file. Create and put the following in /etc/apt/preferences.d/kolab:

Setup Kolab

Read more…

Please share 🙂

Secure Webmin with Google Authenticator

This post will show you how to secure Webmin with Google Authenticator in Ubuntu 14.04 Server.

NTP Time Sync

First install NTP so the time can be synchronised, the time needs to be very accurate so Google Authenticator can work.

Sync the NTP service with a pool before starting the service. The second line is an example of the output of the command.

Start the NTP service. The service should have been added as a startup script.

Google Authenticator Install/Setup

Read more…

Please share 🙂

Setting up mail server dns records

This post will take you through setting up all the necessary DNS settings for your mail server and an additional server on a separate IP. The mail server will reside on a subdomain such as while the main server will reside on

I highly recommend using as they have provide an excellent service. I have a dynamic IP for one server and they automatically update the DNS records when the IP address changes. They also provide robust tools for managing advanced DNS settings including editing the file directly.

Read more…

Please share 🙂

Setup Raspberry pi as a dhcp server

This post is going to show you the basic steps of creating a DHCP server using a Raspberry pi running the latest version of Raspbian, configure the Raspberry (Linux) to use a fixed IP Address and configure clients to get a static IP address using their MAC address. The software used is isc-dhcp-server available from the Ubuntu software repository. I was fed-up of my router giving random IP addresses to servers when it was meant to hand out the same address.

Install Software

The first step is to install the server software.

Read more…

Please share 🙂

Open KDE Menu with the windows/meta key

This used to be quite a difficult one to achieve but it is very easy now.

Install the package Ksuperkey from the AUR if using Arch, start the application by opening the Alt+F2 menu and typing ksuperkey. Now right click on the Kickstarter menu and open “Application Launcher Settings”,  change the shortcut to Alt+F1 as this is the key ksuperkey uses to open the menu. The application works by activating the key on release so the key is still available as a modifier if pressed with another key.

This needs to be added to the AutoStart list otherwise the application will have to be manually started upon reboot.


Please share 🙂