summaryrefslogtreecommitdiffstats
path: root/roles/MX/templates
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2014-07-13 23:24:05 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:53:07 +0200
commit9ac2057bb6f1465b8392f18552ac1df17f6d81d6 (patch)
treeeea3f924905d333fc156c026d3ce58e1eccdbb8b /roles/MX/templates
parent176f32c205ddce2dbabcf4fd3298ed48102ee0dd (diff)
Split templates / files in lookup tables.
Diffstat (limited to 'roles/MX/templates')
-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