Postfix SASL Sender Statistics

In some cases we’d like to know, how much has been sent by our Postfix server on a per account basis.

Continue reading “Postfix SASL Sender Statistics”

Advertisements

Migrating a Linux system to virtual machine with rsync

Server consolidation ratio grows steadily. But how can we migrate our current systems to a virtual environment in an easy way?

Besides vendor specific solutions, for Linux systems there’s a simple and quick way to migrate a server to another machine (in most cases to a VM)

Continue reading “Migrating a Linux system to virtual machine with rsync”

Installing OpenVPN with Ethernet bridge

Why?

Getting through the steps you can set up a stable VPN connection for any of the following situations:

  • I don’t live in the hostel, but would like to play LAN games with friends 🙂
  • I have a small multi site firm, and need to work as we were in one local network – use common shares, printers and other internal resources securely (detailed steps will be later described if needed)
  • I’d like to enable teleworkers to work with the company’s internal network resources securely from home
  • I’d like to hide all my traffic from my current network provider, and route them through the VPN tunnel (default routing will be later described if needed)

Continue reading “Installing OpenVPN with Ethernet bridge”

Debian Squeeze Recipe + LDAP + Mail Relay

Introduction
A lot of provisions done by me need to be automated, since each install process can take 2 hours to get every single step done according to standards. I could set up scripts to do enviroment settings or to do install and configurations, but to be honest, that is not really elegant, and the question remains, how would the scripts be copied/mounted to the servers, and what process would start them.
Continue reading “Debian Squeeze Recipe + LDAP + Mail Relay”

AuthBasicProvider not allowed here

During vhost provisions with LDAP auth I was seeing errors:

root@test:~# /etc/init.d/apache2 restart
Syntax error on line 30 of /etc/apache2/sites-enabled/000-default:
AuthBasicProvider not allowed here
Action 'configtest' failed.
The Apache error log may have more information.
 failed!

Continue reading “AuthBasicProvider not allowed here”

Nagios3 frontend with ldap auth

Introduction

Default setup of nagios on on of our systems had .htaccess auth method setup, and with growing number of users we needed to change to a more centralized and manageable auth method. We decided to include Nagios into our LDAP infrastructure and let Apache web server do the most of the work.
Continue reading “Nagios3 frontend with ldap auth”