Babel Access Manager for Postfix Code
Brought to you by:
babeldev,
ioggstream
Babel Access Manager for Postfix ================================== BAMP is a policy delegator for Postfix MTA www.postfix.org BAMP implements daily and peek quota per user/mailbox. Quota is retrieved from an ldap server. You can install BAMP on several servers and configure it in cluster mode: user statistics are stored in an in-memory clustered DB implemented with multicast and sqlite. Build ====== Prerequisites: * sqlite3, ldap, snmp * you can install them with your distribution package manager, or build them from source using # ./install-deps.sh Once you need to (re)configure the sources, you can issue: # autoreconf --install && aclocal && autoheader && autoconf # sh configure --prefix=/installation/dir/ # make # make install Configure ========= Edit the main.cfg file, specifying: * ldap uris - to get user quotas * the listening port - to receive connections from postfix * cluster management host:port * cluster communication host:port - a multicast address Components ========== Bamp is made of three daemons: * acmand - main daemon, reads config files and executes the other 2 programs. acmand manages user counters and retrieve counters data from other nodes; * pold - policy delegator server, waits for postfix to connect and replies to its requests. Retrieve informations from acmand; * clusmand - cluster manager server, uses multicast/udp to find cluster nodes. Communicates changes to acmand and to other nodes.