New site engine Sticky

Due to transfer site to new CMS, some portion of its content can be unavailable or in another place. This is because I decided to not do automatical upgrade and move content manually, to make site more clear and functional. This work will take me some time. Please be patient. The previous version can be found at:

Trusted certificate for free - StartSSL

StartSSL site screenshot

How many times you've seen the message: "The site's security certificate is not trusted!"? We are used to it, and many people don't even check who is issuer of certificate and to whom is issued. Just click, confirm that we know the risk, and remember this one for future use. This is not proper behaviour of course, certificate should be trusted, issued for specified subject, not expired and signed by Trusted Certificate Authority (CA). Especially if you dealing with bank or other financial institution, mobile operator, internet shop and so on. But what about private sites?

Bulk ZFS snapshots

ZFS is very friendly filesystem. You can do a snapshot quick and easy.

For example, if you have ZFS named tank, you can do snapshot named snap1:

# zfs snapshot tank@snap1

Done. But what if you have several pools and several ZFS filesystems on each? You can do a simple loop:

Postfix - compilation

Postfix does not have a configure script, so you need to add proper paths and libraries when you creating Makefiles (make makefiles). I must admit, that Postfix code is one of the least problematic code to compile on differents systems. To make my compilations reproducible, I wrote a script and set proper options for compilation.

Pigeonhole - compilation and installation

You can download Pigeonhole for Dovecot from

% wget
% tar -xf dovecot-2.1-pigeonhole-0.3.1.tar.gz

This is my script to configure and compile Pigeonhole 0.3.1 for Dovecot 2.1:

Pigeonhole - Sieve support for Dovecot


Pigeonhole is the name of the project that adds support for the Sieve language (RFC 5228) and the ManageSieve protocol (RFC 5804) to the Dovecot Secure IMAP Server. In the literal sense, a pigeonhole is a a hole or recess inside a dovecot for pigeons to nest in. It is, however, also the name for one of a series of small, open compartments in a cabinet used for filing or sorting mail. As a verb, it describes the act of putting an item into one of those pigeonholes. The name `Pigeonhole' therefore well describes an important part of the functionality that this project adds to Dovecot: sorting and filing e-mail messages.

OpenSSL - compilation and installation

OpenSSL 1.0.1c is a security fix release, see:
I compiled it on Solaris SPARC with use of SunStudio compiler.
At first I patch a little a Configure script:

Dovecot v2.1.8 released

On 3rd of July 2012 was released a new version of Dovecot server.

Most importantly fixes a pretty bad behavior of sending mailbox names as
UTF-8 instead of mUTF-7 as required by IMAP RFC. I'm surprised nobody
hadn't noticed this in v2.1.x tree before yesterday. I guess some
clients might have translated the name to UTF-8 anyway and not noticed
it, while others would have silently ignored the problem of not seeing
STATUS updates.

How to remove mail from Postfix queue

Sometimes you need to remove some mail from queue or do other things in shell. For experienced administrators this is not a problem, but I decided to write some usable shell commands and scripts for less experienced users. This section I called Scripts.

Here are few commands to remove mail from Postfix queue. Don't ask me why - just for example. This time i will describe it step by step. This is mail queue:


Postfix is Wietse Venema's mail server that started life at IBM research as an alternative to the widely-used Sendmail program.
Postfix attempts to be fast, easy to administer, and secure. The outside has a definite Sendmail-ish flavor, but the inside is completely different.
Built from source code, Postfix can run on UNIX-like systems including AIX, BSD, HP-UX, Linux, MacOS X, Solaris, and more.


Subscribe to Fugazi @work - operating systems, security, smartphones, mail system RSS