# Load this file with # # ldapadd -Y EXTERNAL -H ldapi:/// -f base.ldif # # It will create the base directory and add services needed to for our # systems to work. # If "o=mailHosting,dc=fripost,dc=dev" exists, you can delete it with # # ldapdelete -Y EXTERNAL -H ldapi:/// -r "o=mailHosting,dc=fripost,dc=dev" dn: o=mailHosting,dc=fripost,dc=dev objectClass: organization description: Mail hosting dn: ou=virtual,o=mailHosting,dc=fripost,dc=dev objectClass: organizationalUnit objectClass: fripostVirtual fripostCanAddDomain: fvd=fripost.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev fripostCanAddDomain: fvu=test,fvd=fripost.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev description: Virtual mail hosting dn: ou=services,o=mailHosting,dc=fripost,dc=dev objectClass: organizationalUnit dn: cn=SMTP,ou=services,o=mailHosting,dc=fripost,dc=dev objectClass: simpleSecurityObject objectClass: organizationalRole userPassword: smtp description: Where Postfix bind to for LDAP lookups. dn: cn=ListCreator,ou=services,o=mailHosting,dc=fripost,dc=dev objectClass: simpleSecurityObject objectClass: organizationalRole description: The entity that is authorized to add list commands userPassword: listcreator dn: cn=AdminWebPanel,ou=services,o=mailHosting,dc=fripost,dc=dev objectClass: organizationalRole description: The adminstrator Web Panel authzTo: dn.regex:^fvu=[^,]+,fvd=[^,]+,ou=virtual,o=mailHosting,dc=fripost,dc=dev$