Menu

Tree [d00b3b] master v1.8 /
 History

HTTPS access


File Date Author Commit
 acmand 2014-10-15 Francesco Fiore Francesco Fiore [0dc766] Fix wrong daily_counter update on stopslot clus...
 clusmgrd 2014-05-06 Francesco Fiore Francesco Fiore [0b5e6e] Add interface pinning for multicast client; cha...
 config 2014-04-17 Francesco Fiore Francesco Fiore [6e918a] Fix some bugs
 doc 2013-03-08 Francesco Fiore Francesco Fiore [f3a07a] Update configuration
 poldd 2014-04-17 Francesco Fiore Francesco Fiore [6e918a] Fix some bugs
 scripts 2013-03-08 Francesco Fiore Francesco Fiore [b75a2f] Update configuration
 snmp 2011-10-04 Francesco Fiore Francesco Fiore [4e7230] Update autotools config and bigfix
 AUTHORS 2011-09-13 Roberto Polli Roberto Polli [00786f] first import
 COPYING 2012-01-10 Francesco Fiore Francesco Fiore [b2a0fd] Added check for LDAP connections
 ChangeLog 2011-09-13 Roberto Polli Roberto Polli [00786f] first import
 INSTALL 2014-10-16 Francesco Fiore Francesco Fiore [d00b3b] Autoreconf to release v1.8 tag
 Makefile-variables.am 2013-03-08 Francesco Fiore Francesco Fiore [b75a2f] Update configuration
 Makefile.am 2013-10-17 Francesco Fiore Francesco Fiore [88af4a] Bugfix: disordered updates from other nodes
 Makefile.in 2013-10-17 Francesco Fiore Francesco Fiore [88af4a] Bugfix: disordered updates from other nodes
 NEWS 2011-09-13 Roberto Polli Roberto Polli [00786f] first import
 README 2012-01-10 Francesco Fiore Francesco Fiore [8bf219] Merge branch 'master' of ssh://git.code.sf.net/...
 aclocal.m4 2013-10-17 Francesco Fiore Francesco Fiore [88af4a] Bugfix: disordered updates from other nodes
 am-config.h 2013-03-08 Francesco Fiore Francesco Fiore [b75a2f] Update configuration
 config.guess 2014-10-16 Francesco Fiore Francesco Fiore [d00b3b] Autoreconf to release v1.8 tag
 config.h.in 2014-04-17 Francesco Fiore Francesco Fiore [6e918a] Fix some bugs
 config.sub 2014-10-16 Francesco Fiore Francesco Fiore [d00b3b] Autoreconf to release v1.8 tag
 configure 2014-10-16 Francesco Fiore Francesco Fiore [d00b3b] Autoreconf to release v1.8 tag
 configure.ac 2014-10-16 Francesco Fiore Francesco Fiore [d00b3b] Autoreconf to release v1.8 tag
 depcomp 2014-10-16 Francesco Fiore Francesco Fiore [d00b3b] Autoreconf to release v1.8 tag
 install-deps.sh 2011-10-04 Francesco Fiore Francesco Fiore [d58e1c] Update autotools config and bugfix
 install-sh 2014-10-16 Francesco Fiore Francesco Fiore [d00b3b] Autoreconf to release v1.8 tag
 missing 2014-10-16 Francesco Fiore Francesco Fiore [d00b3b] Autoreconf to release v1.8 tag

Read Me

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.