I had to build a mail server for one client. So I decided to use postfix + dovecot as a combination for the setup.
After a week of usage, my client called and asked for per user quotas. Since the setup is with virtual users this required some changes. So here I’ll try to outline what [...]

Posted by HackMan
Dated: 30th January 2010
Filled Under: Linux General, Technology
Comments: Post the 1st one!

One of the problems when you are migrating a server is actually migrating the traffic from the old IPs to the new IPs.
Since we were doing that fairly often for some of our server I have used one very common trick, which was to use DNAT + SNAT to move the traffic from the old [...]

Posted by HackMan
Dated: 27th November 2009
Filled Under: Linux General, Linux-HA, Technology, Uncategorized
Comments: 1 Comment

Today I had to install MySQL Proxy on one of our servers.
What I found was that the current stable version 0.7.2 requires more resent version of Glib2 then what comes with CentOS 5.4.
So here is what I did in order to build it with a different version of glib2 then the default installation:
LUA: download & [...]

Posted by HackMan
Dated: 26th November 2009
Filled Under: Linux General, Technology
Comments: 1 Comment

I started to use syscalls in Perl scripts a long time ago. One of the main issues I face every time I install a script on a new machine is creating Perl header files from the C headers.
It is supposed to be done very easy:

# cd /usr/include
# h2ph *.h
# h2ph */*.h

With this we should have [...]

Posted by HackMan
Dated: 24th February 2009
Filled Under: Linux General, Technology
Comments: Post the 1st one!