Menu Close

Category: Linux

How to set filters in roundcube with Sieve

Ok, You have your fantastic mail server with roundcube as web client.

All work great but hey, wait a moment… how can i set a filter in roundcube?

Filtering emails in webclient (gmail, outlook etc) its a normal thing but in your mail server it’s not automatic, and you have to do a bit of work for have it in your roundcube.

This is a quick tutorial on how to configure all on Ubuntu 12.04 with postfix+dovecot+roundcube (I assume that you already installed them).

Let’s start:

How To Add and Delete Users on an Ubuntu 14.04 VPS



One of the most basic tasks to that you should know how to do on a fresh Linux server is add and remove users. When you create a new server, you are only given the root account by default.

While this gives you a lot of power and flexibility, it is also dangerous and can be destructive. It is almost always a better idea to add an additional, unprivileged user to do common tasks. You also should create additional accounts for any other users you may have on your system. Each user should have a different account.

You can still acquire administrator privileges when you need them through a mechanism called sudo. In this guide we will cover how to create user accounts, assign sudo privileges, and delete users.

View Live current mysql queries

For see from command line current execution of queries you can use:

$ mysqladmin -u bob -p -i 1 processlist

This will print the current queries on your screen every second.

  • -u The mysql user you want to execute the command as
  • -p Prompt for your password (so you don’t have to save it in a file or have the command appear in your command history)
  • i The interval in seconds.

If you want to see output like “SHOW FULL PROCESSLIST” you can attach “–verbose” to the command.

How to Install WinRAR 5.11.1 on Ubuntu 14.04 & Other Linux Ubuntu Derivatives

How to install WinRAR 5.11 on Ubuntu 14.04 (Linux) systems. Install WinRAR 5.11 on 32 bit Ubuntu 14.04 and install WinRAR 5.11 on 64 bit Ubuntu 14.04 system.

WinRAR is an archiving utility that completely supports RAR and ZIP archives and is able to unpack CAB, ARJ, LZH, TAR, GZ, ACE, UUE, BZ2, JAR, ISO, 7Z, Z archives.  The latest version of the WinRAR 5.11 comes with the following bug fixes and improvements:

Linux Creating a Partition Size Larger Than 2TB

Frankly speaking, you cannot create a Linux partition larger than 2 TB using the fdisk command. The fdisk won’t create partitions larger than 2 TB. This is fine for desktop and laptop users, but on server you need a large partition. For example, you cannot create 3TB or 4TB partition size (RAID based) using the fdisk command. It will not allow you to create a partition that is greater than 2TB. In this tutorial, you will learn more about creating Linux filesystems greater than 2 Terabytes to support enterprise grade operation under any Linux distribution.

How To Set Up an NFS Mount on Ubuntu 14.04



NFS, or Network File System, is a distributed filesystem protocol that allows you to mount remote directories on your server. This allows you to leverage storage space in a different location and to write to the same space from multiple servers easily. NFS works well for directories that will have to be accessed regularly.

In this guide, we’ll cover how to configure NFS mounts on an Ubuntu 14.04 server.

Setup your own mail server (Postfix, Dovecot, Spamassassin) – the easy way

I’ve written a loong post on how to configure Email with Postfix, Dovecot and MySQL on Debian 6 (Squeeze) and it seems quite popular, a lot of you come from Google searching on how to do this difficult task.

I recently felt like moving my mail server to a new one and decided to see if there’s anything out there to help me. A complete package was what I was looking for.

And I’ll be damn, I found it!


iRedmail is a free and open source package that does just what I want. It installs Postfix, Dovecot, Spamassasin, ClamAV, Roundcube and their own panel iRedAdmin.

iReadAdmin is a simple panel that helps you add domains and users/aliases. And that’s about it. They charge for an extended version called iRedAdmin-Pro but that price is way high for me.

It’s a painless installation, just follow the steps on their site and your done. I chose a MySQL backend since adding domain aliases, catch-all addresses etc gets a lot easier when you just connect with your MySQL-client and add some lines to the db (iRedAdmin is so limited you can’t do it there).

I will follow up this post with some guides on howto improve iRedmail and howto add DKIM to new domains etc.