|
HowToDeployMLAPD
How to deploy MLAPD in an existing and working MTA environment.
InstallationMLAPD 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 StartedYou 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:
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