aboutsummaryrefslogtreecommitdiffstats
path: root/ldap/populate.ldif
diff options
context:
space:
mode:
Diffstat (limited to 'ldap/populate.ldif')
-rw-r--r--ldap/populate.ldif143
1 files changed, 75 insertions, 68 deletions
diff --git a/ldap/populate.ldif b/ldap/populate.ldif
index cd2b5f2..475975a 100644
--- a/ldap/populate.ldif
+++ b/ldap/populate.ldif
@@ -3,9 +3,6 @@
# ldapadd -Y EXTERNAL -H ldapi:/// -f populate.ldif
#
# It will populate the directory for testing purposes.
-# 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"
# ou=quotas,o=mailHosting,dc=fripost,dc=dev
# |- fvd=fripost.org
@@ -14,37 +11,29 @@
# |-
-dn: o=mailHosting,dc=fripost,dc=dev
-objectClass: organization
-description: Mail hosting
-
-
-dn: ou=virtual,o=mailHosting,dc=fripost,dc=dev
-objectClass: organizationalUnit
-description: Virtual mail hosting
-
-
# An independent domain, not self managed
dn: fvd=fripost.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
-objectClass: fripostVirtualDomain
+objectClass: FripostVirtualDomain
fripostCanCreateAlias: fvu=fake,fvd=fripost.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
-fripostCanCreateML: fvu=fake,fvd=fripost.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
+fripostCanCreateList: fvu=fake,fvd=fripost.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
fripostIsStatusActive: TRUE
dn: fvu=user1,fvd=fripost.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
-objectClass: fripostVirtualMailbox
+objectClass: FripostVirtualMailbox
userPassword: user1
fripostIsStatusActive: TRUE
fripostOptionalMaildrop: user1@external.org
+fripostOptionalMaildrop: user1@external2.org
+fripostOptionalMaildrop: user1@external3.org
dn: fvu=user2,fvd=fripost.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
-objectClass: fripostVirtualMailbox
+objectClass: FripostVirtualMailbox
userPassword: user2
fripostIsStatusActive: TRUE
# A owned alias
dn: fva=alias1,fvd=fripost.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
-objectClass: fripostVirtualAlias
+objectClass: FripostVirtualAlias
fripostIsStatusActive: TRUE
fripostOwner: fvu=user1,fvd=fripost.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
fripostMaildrop: user1@fripost.org
@@ -54,23 +43,23 @@ fripostOwner: fvd=fripost.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
# An independent alias
dn: fva=alias2,fvd=fripost.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
-objectClass: fripostVirtualAlias
+objectClass: FripostVirtualAlias
fripostIsStatusActive: TRUE
fripostMaildrop: user2@fripost.org
-# A owned mailing list
-dn: fvml=ml1,fvd=fripost.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
-objectClass: fripostVirtualML
-fripostMLManager: mailman
+# An owned list
+dn: fvl=list1,fvd=fripost.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
+objectClass: FripostVirtualList
+fripostListManager: mailman
fripostIsStatusActive: TRUE
-fripostMLCommand: ml1-request
-fripostMLCommand: ml1-bounces
+fripostListCommand: list1-request
+fripostListCommand: list1-bounces
fripostOwner: fvu=user1,fvd=fripost.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
-# An independent mailing list (for user1)
-dn: fvml=ml2,fvd=fripost.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
-objectClass: fripostVirtualML
-fripostMLManager: schleuder
+# An independent list (for user1)
+dn: fvl=list2,fvd=fripost.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
+objectClass: FripostVirtualList
+fripostListManager: schleuder
fripostIsStatusActive: TRUE
fripostOwner: fvu=user2,fvd=fripost.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
# Buggy owner
@@ -79,87 +68,102 @@ fripostOwner: fvd=fripost.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
# An independent domain, with canCreateAlias options
dn: fvd=example.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
-objectClass: fripostVirtualDomain
+objectClass: FripostVirtualDomain
fripostCanCreateAlias: fvd=fripost.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
-fripostIsStatusActive: TRUE
+fripostIsStatusActive: FALSE
+description: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
+description: tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim
+description: veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
+description: commodo consequat. Duis aute irure dolor in reprehenderit in voluptate
+description: velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint
+description: occaecat cupidatat non proident, sunt in culpa qui officia deserunt
+description: mollit anim id est laborum.
# A owned alias
dn: fva=alias1,fvd=example.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
-objectClass: fripostVirtualAlias
-fripostIsStatusActive: TRUE
+objectClass: FripostVirtualAlias
+fripostIsStatusActive: FALSE
fripostOwner: fvu=user1,fvd=fripost.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
fripostMaildrop: user1@fripost.org
-# An independent domain, with canCreateML options
+# An independent domain, with canCreateList options
dn: fvd=example2.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
-objectClass: fripostVirtualDomain
-fripostCanCreateML: fvd=fripost.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
+objectClass: FripostVirtualDomain
+fripostCanCreateList: fvd=fripost.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
fripostIsStatusActive: TRUE
-# A owned mailing list
-dn: fvml=ml1,fvd=example2.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
-objectClass: fripostVirtualML
+# An owned list
+dn: fvl=list1,fvd=example2.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
+objectClass: FripostVirtualList
fripostIsStatusActive: TRUE
-fripostMLManager: schleuder
+fripostListManager: schleuder
fripostOwner: fvu=user2,fvd=fripost.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
-# An independent domain, with both can createAlias and canCreateML options
+# An independent domain, with both can createAlias and canCreateList options
dn: fvd=example3.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
-objectClass: fripostVirtualDomain
+objectClass: FripostVirtualDomain
fripostCanCreateAlias: fvu=user2,fvd=fripost.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
-fripostCanCreateML: fvu=user2,fvd=fripost.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
+fripostCanCreateList: fvu=user2,fvd=fripost.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
fripostIsStatusActive: TRUE
-# A owned mailing list
-dn: fvml=ml,fvd=example3.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
-objectClass: fripostVirtualML
+# An owned list
+dn: fvl=list,fvd=example3.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
+objectClass: FripostVirtualList
fripostIsStatusActive: TRUE
-fripostMLManager: mailman
+fripostListManager: mailman
fripostOwner: fvu=user1,fvd=fripost.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
# A owned domain
dn: fvd=owned.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
-objectClass: fripostVirtualDomain
+objectClass: FripostVirtualDomain
fripostIsStatusActive: TRUE
fripostOwner: fvu=user1,fvd=fripost.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
# Buggy owner
fripostOwner: fvd=fripost.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
dn: fva=alias,fvd=owned.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
-objectClass: fripostVirtualAlias
+objectClass: FripostVirtualAlias
fripostIsStatusActive: TRUE
fripostMaildrop: user1@fripost.org
dn: fva=abuse,fvd=owned.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
-objectClass: fripostVirtualAlias
+objectClass: FripostVirtualAlias
fripostIsStatusActive: TRUE
fripostMaildrop: abuse@fripost.org
dn: fva=postmaster,fvd=owned.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
-objectClass: fripostVirtualAlias
+objectClass: FripostVirtualAlias
fripostIsStatusActive: TRUE
fripostMaildrop: postmaster@fripost.org
+description: Lorem ipsum dolor sit amet, consectetur adipisicing elit,
+ sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut
+ enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
+ aliquip ex ea commo do consequat. Duis aute irure dolor in reprehenderit
+ in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
+ Excepteur sint occaecat cupidatat non proident, sunt in culpa qui
+ officia deserunt mollit anim id est laborum.
-dn: fvml=ml,fvd=owned.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
-objectClass: fripostVirtualML
-fripostMLManager: mailman
+dn: fvl=list,fvd=owned.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
+objectClass: FripostVirtualList
+fripostListManager: mailman
fripostIsStatusActive: TRUE
-fripostMLCommand: ml-request
-fripostMLCommand: ml-bounces
+fripostListCommand: list-request
+fripostListCommand: list-bounces
dn: fvu=user,fvd=owned.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
-objectClass: fripostVirtualMailbox
+objectClass: FripostVirtualMailbox
userPassword: user
fripostIsStatusActive: TRUE
# A postmastered domain
dn: fvd=postmastered.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
-objectClass: fripostVirtualDomain
+objectClass: FripostVirtualDomain
fripostIsStatusActive: TRUE
+fripostCanCreateAlias: fvd=fripost.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
fripostPostmaster: fvu=user1,fvd=fripost.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
fripostPostmaster: fvu=postmaster,fvd=postmastered.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
# Buggy owner
@@ -167,34 +171,37 @@ fripostPostmaster: fvd=fripost.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
fripostCanCreateAlias: fvu=user,fvd=postmastered.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
dn: fva=alias,fvd=postmastered.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
-objectClass: fripostVirtualAlias
+objectClass: FripostVirtualAlias
fripostIsStatusActive: TRUE
fripostMaildrop: user1@fripost.org
dn: fva=abuse,fvd=postmastered.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
-objectClass: fripostVirtualAlias
+objectClass: FripostVirtualAlias
fripostIsStatusActive: TRUE
fripostMaildrop: abuse@fripost.org
fripostOwner: fvu=postmaster,fvd=postmastered.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
dn: fva=postmaster,fvd=postmastered.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
-objectClass: fripostVirtualAlias
+objectClass: FripostVirtualAlias
fripostIsStatusActive: TRUE
fripostMaildrop: postmaster@fripost.org
+description: test UTF8
+description: “All we are saying is: ‘give peace a chance!’” — Joe Cocker ☮
-dn: fvml=ml,fvd=postmastered.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
-objectClass: fripostVirtualML
-fripostMLManager: mailman
+dn: fvl=list,fvd=postmastered.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
+objectClass: FripostVirtualList
+fripostListManager: mailman
fripostIsStatusActive: TRUE
-fripostMLCommand: ml-request
-fripostMLCommand: ml-bounces
+fripostListCommand: list-request
+fripostListCommand: list-bounces
dn: fvu=user,fvd=postmastered.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
-objectClass: fripostVirtualMailbox
+objectClass: FripostVirtualMailbox
userPassword: user
fripostIsStatusActive: TRUE
+fripostMailboxQuota: 10MB
dn: fvu=postmaster,fvd=postmastered.org,ou=virtual,o=mailHosting,dc=fripost,dc=dev
-objectClass: fripostVirtualMailbox
+objectClass: FripostVirtualMailbox
userPassword: postmaster
fripostIsStatusActive: TRUE