summaryrefslogtreecommitdiffstats
path: root/roles/MX/templates/etc/postfix/virtual
diff options
context:
space:
mode:
Diffstat (limited to 'roles/MX/templates/etc/postfix/virtual')
-rw-r--r--roles/MX/templates/etc/postfix/virtual/alias.cf.j210
-rw-r--r--roles/MX/templates/etc/postfix/virtual/alias_domains.cf.j212
-rw-r--r--roles/MX/templates/etc/postfix/virtual/catchall.cf.j211
-rw-r--r--roles/MX/templates/etc/postfix/virtual/domains.cf.j212
-rw-r--r--roles/MX/templates/etc/postfix/virtual/list.cf.j213
-rw-r--r--roles/MX/templates/etc/postfix/virtual/mailbox.cf.j213
-rw-r--r--roles/MX/templates/etc/postfix/virtual/reserved_alias.pcre.j25
7 files changed, 0 insertions, 76 deletions
diff --git a/roles/MX/templates/etc/postfix/virtual/alias.cf.j2 b/roles/MX/templates/etc/postfix/virtual/alias.cf.j2
deleted file mode 100644
index 1710376..0000000
--- a/roles/MX/templates/etc/postfix/virtual/alias.cf.j2
+++ /dev/null
@@ -1,10 +0,0 @@
-server_host = ldapi://%2Fvar%2Fspool%2Fpostfix-mx%2Fprivate%2Fldapi/
-version = 3
-search_base = fvd=%d,ou=virtual,dc=fripost,dc=org
-domain = static:all
-scope = one
-bind = yes
-bind_dn = cn=postfix,ou=services,dc=fripost,dc=org
-bind_pw = FIXME
-query_filter = (&(objectClass=FripostVirtualAlias)(fvl=%u)(fripostIsStatusActive=TRUE))
-result_attribute = fripostMaildrop
diff --git a/roles/MX/templates/etc/postfix/virtual/alias_domains.cf.j2 b/roles/MX/templates/etc/postfix/virtual/alias_domains.cf.j2
deleted file mode 100644
index 119b8b2..0000000
--- a/roles/MX/templates/etc/postfix/virtual/alias_domains.cf.j2
+++ /dev/null
@@ -1,12 +0,0 @@
-server_host = ldapi://%2Fvar%2Fspool%2Fpostfix-mx%2Fprivate%2Fldapi/
-version = 3
-search_base = ou=virtual,dc=fripost,dc=org
-domain = static:all
-scope = one
-bind = yes
-bind_dn = cn=postfix,ou=services,dc=fripost,dc=org
-bind_pw = FIXME
-# The domain has already been validated (it's active and not pending)
-query_filter = (&(objectClass=FripostVirtualAliasDomain)(fvd=%d))
-result_attribute = fripostMaildrop
-result_format = %U@%s
diff --git a/roles/MX/templates/etc/postfix/virtual/catchall.cf.j2 b/roles/MX/templates/etc/postfix/virtual/catchall.cf.j2
deleted file mode 100644
index 66053c8..0000000
--- a/roles/MX/templates/etc/postfix/virtual/catchall.cf.j2
+++ /dev/null
@@ -1,11 +0,0 @@
-server_host = ldapi://%2Fvar%2Fspool%2Fpostfix-mx%2Fprivate%2Fldapi/
-version = 3
-search_base = ou=virtual,dc=fripost,dc=org
-domain = static:all
-scope = one
-bind = yes
-bind_dn = cn=postfix,ou=services,dc=fripost,dc=org
-bind_pw = FIXME
-# The domain has already been validated (it's active and not pending)
-query_filter = (&(objectClass=FripostVirtualDomain)(!(objectClass=FripostVirtualAliasDomain))(fvd=%d)(fripostOptionalMaildrop=*))
-result_attribute = fripostOptionalMaildrop
diff --git a/roles/MX/templates/etc/postfix/virtual/domains.cf.j2 b/roles/MX/templates/etc/postfix/virtual/domains.cf.j2
deleted file mode 100644
index 4ec247d..0000000
--- a/roles/MX/templates/etc/postfix/virtual/domains.cf.j2
+++ /dev/null
@@ -1,12 +0,0 @@
-# XXX: How come we use a socked relative to the chroot here? smtpd(8) is
-# not (can't be) chrooted...
-server_host = ldapi://%2Fprivate%2Fldapi/
-version = 3
-search_base = ou=virtual,dc=fripost,dc=org
-scope = one
-bind = yes
-bind_dn = cn=postfix,ou=services,dc=fripost,dc=org
-bind_pw = FIXME
-query_filter = (&(objectClass=FripostVirtualDomain)(!(objectClass=FripostPendingEntry))(fvd=%s)(fripostIsStatusActive=TRUE))
-result_attribute = fvd
-result_format = OK
diff --git a/roles/MX/templates/etc/postfix/virtual/list.cf.j2 b/roles/MX/templates/etc/postfix/virtual/list.cf.j2
deleted file mode 100644
index 3b364c0..0000000
--- a/roles/MX/templates/etc/postfix/virtual/list.cf.j2
+++ /dev/null
@@ -1,13 +0,0 @@
-server_host = ldapi://%2Fvar%2Fspool%2Fpostfix-mx%2Fprivate%2Fldapi/
-version = 3
-search_base = fvd=%d,ou=virtual,dc=fripost,dc=org
-domain = static:all
-scope = one
-bind = yes
-bind_dn = cn=postfix,ou=services,dc=fripost,dc=org
-bind_pw = FIXME
-query_filter = (&(objectClass=FripostVirtualList)(!(objectClass=FripostPendingEntry))(fvl=%u)(fripostIsStatusActive=TRUE))
-result_attribute = fripostListManager
-# Use a dedicated "virtual" domain to decongestion potential bottlenecks
-# on trivial_rewrite(8) due to slow LDAP lookups in tranport_maps.
-result_format = %D/%U@%s.fripost.org
diff --git a/roles/MX/templates/etc/postfix/virtual/mailbox.cf.j2 b/roles/MX/templates/etc/postfix/virtual/mailbox.cf.j2
deleted file mode 100644
index 4654607..0000000
--- a/roles/MX/templates/etc/postfix/virtual/mailbox.cf.j2
+++ /dev/null
@@ -1,13 +0,0 @@
-server_host = ldapi://%2Fvar%2Fspool%2Fpostfix-mx%2Fprivate%2Fldapi/
-version = 3
-search_base = fvd=%d,ou=virtual,dc=fripost,dc=org
-domain = static:all
-scope = one
-bind = yes
-bind_dn = cn=postfix,ou=services,dc=fripost,dc=org
-bind_pw = FIXME
-query_filter = (&(objectClass=FripostVirtualUser)(fvl=%u)(fripostIsStatusActive=TRUE))
-result_attribute = fvl
-# Use a dedicated "virtual" domain to decongestion potential bottlenecks
-# on trivial_rewrite(8) due to slow LDAP lookups in tranport_maps.
-result_format = %D/%U@mda.fripost.org
diff --git a/roles/MX/templates/etc/postfix/virtual/reserved_alias.pcre.j2 b/roles/MX/templates/etc/postfix/virtual/reserved_alias.pcre.j2
deleted file mode 100644
index f1c79c7..0000000
--- a/roles/MX/templates/etc/postfix/virtual/reserved_alias.pcre.j2
+++ /dev/null
@@ -1,5 +0,0 @@
-/^(?:postmaster|abuse)(?:\+.*)?@fripost\.org$/ admin@fripost.org
-# For other domains, RFC 822 section 6.3 and RFC 2142 section 4
-# mandatory aliases are forwarded to OUR admin team and to the domain
-# owner or postmaster, if there are any.
-/^(postmaster|abuse)(?:\+.*)?@(.*)/ $2/$1@reserved.fripost.org