My favorites | Sign in
Project Logo
                
Search
for
Updated Apr 16, 2009 by giulivo.navigante
Labels: Featured, Phase-Deploy
HowToDeployMLAPD  
How to deploy MLAPD in an existing and working MTA environment.

Installation

MLAPD simply doesn't really need any kind of installation! It's a python app, you just have to launch the mlapd.py file provided in the sbin directory, that's all.

MLAPD will listen (by default) on 127.0.0.1:7777. You can install it on any machine reachable by your Postfix.

Getting Started

You can launch mlapd from the bin directory. Some parameters define port and inet interface where it should bind on. The script has some built-in defaults, you can see the usage launching it with the -h option.

When you've successfully configured Postfix and populted the LDAP (see also HowToConfigurePostfix and HowToPopulateLDAP), you can start MLAPD and try then an smtp session to Postfix.

The list policies supported by MLAPD (defined by the mailAllowedDomain attribute in the example at HowToPopulateLDAP) can be one of these four types:

value description
open any submitter address is accepted
domain any submitter address within the same domain of the list is accepted
internals only submitters subscribed to the list are accepted
filter only submitters found to be explicitly allowed are accepted

You can configure in ldapmodel.conf which attribute defines the list policy, which one the subscribers and which the allowed addresses and you can also define the lists search filter. The default ldapmodel.conf file should look like this:

[LDAP_SERVER]
URL=ldap://localhost:389/
ROOTDN=dc=root,dc=dn
BINDDN=
BINDPWD=

[LDAP_DATA]
# which attribute contains the list policy
POLICYATTR=mgrpalloweddomain

# how to search for lists
LISTFILTER=(&(mgrpdeliverto=%(recipient)s)(objectclass=mailgroup))

# name of the attribute which contains allowed addresses
ALLWDATTRIBUTE=mgrpallowedbroadcaster

# name of the attribute which contains subscribed addresses
SUBSCRATTRIBUTE=mgrprfc822mailmember

Requirements


Sign in to add a comment
Hosted by Google Code