My favorites | Sign in
Project Logo
                
Search
for
Updated Nov 28, 2008 by giulivo.navigante
Labels: Featured, Phase-Deploy, Phase-Requirements
HowToPopulateLDAP  
Here is described how to populate the LDAP tree to make MLAPD working with Postfix virtual domains, virtual mailboxes and virtual mailing lists.

Here is how to populate the LDAP to make it useful with the sample configuration described in HowToConfigurePostfix

domain

Here the typical internet domain example.com

# example.com.root.dn
dn: dc=example.com,dc=root,dc=dn
dc: example.com
objectClass: top
objectClass: domain

mailbox

An email address gfidente@example.com

# gfidente, people, example.com.root.dn
dn: uid=gfidente,ou=people,dc=example.com,dc=root,dc=dn
mailMessageStore: example.com/gfidente@example.com/Maildir/
givenName: Giulio
sn: Fidente
mail: gfidente@example.com
objectClass: top
objectClass: inetorgperson
objectClass: organizationalperson
objectClass: mailrecipient
objectClass: person
uid: gfidente
cn: Giulio Fidente

list

The mailing list news@example.com with two subscribed addresses (one is mine) and only one allowed submitter.

# news, groups, example.com.root.dn
dn: cn=news,ou=groups,dc=example.com,dc=root,dc=dn
mgrpDeliverTo: news@example.com
mgrpAllowedDomain: internals
objectClass: top
objectClass: mailgroup
cn: news
mgrpAllowedBroadcaster: email@foo.bar
mgrpRFC822MailMember: email@foo.bar
mgrpRFC822MailMember: gfidente@example.com

The mgrpAllowedDomain attribute contains the policy which MLAPD will use to define who are the authorized submitters for the list. The value internals is in fact a keyword, see HowToDeployMLAPD


Sign in to add a comment
Hosted by Google Code