summaryrefslogtreecommitdiffstats
path: root/roles/lists
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2014-01-15 15:21:59 +0100
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:51:40 +0200
commitc836fecd1b0ae3c6348ade420cd8e0222cdb66eb (patch)
tree0ff38de631b103239cd5f89c66a91ba8eb5d1407 /roles/lists
parent8cca963be44becc5052da6f5ba1c1d7a705caaca (diff)
Make the *_maps file names uniform.
That is, don't put a leading virtual_ or a trailing _maps in file names.
Diffstat (limited to 'roles/lists')
-rw-r--r--roles/lists/files/etc/postfix/virtual/transport_list.cf (renamed from roles/lists/files/etc/postfix/virtual/transport_lists_maps.cf)0
-rw-r--r--roles/lists/tasks/mail.yml2
-rw-r--r--roles/lists/templates/etc/postfix/main.cf.j22
3 files changed, 2 insertions, 2 deletions
diff --git a/roles/lists/files/etc/postfix/virtual/transport_lists_maps.cf b/roles/lists/files/etc/postfix/virtual/transport_list.cf
index f85c4f8..f85c4f8 100644
--- a/roles/lists/files/etc/postfix/virtual/transport_lists_maps.cf
+++ b/roles/lists/files/etc/postfix/virtual/transport_list.cf
diff --git a/roles/lists/tasks/mail.yml b/roles/lists/tasks/mail.yml
index 7bd471e..eb2fcc4 100644
--- a/roles/lists/tasks/mail.yml
+++ b/roles/lists/tasks/mail.yml
@@ -26,7 +26,7 @@
mode=0644
with_items:
- mailbox_domains.cf
- - transport_lists_maps.cf
+ - transport_list.cf
- name: Start Postfix
service: name=postfix state=started
diff --git a/roles/lists/templates/etc/postfix/main.cf.j2 b/roles/lists/templates/etc/postfix/main.cf.j2
index dff9d0a..955b901 100644
--- a/roles/lists/templates/etc/postfix/main.cf.j2
+++ b/roles/lists/templates/etc/postfix/main.cf.j2
@@ -55,7 +55,7 @@ relayhost = [{{ MTA_out.host }}]:{{ MTA_out.port }}
relay_domains =
# Virtual transport (the alias resolution is already done by the MX:es)
-transport_maps = ldap:$config_directory/virtual/transport_lists_maps.cf
+transport_maps = ldap:$config_directory/virtual/transport_list.cf
mlmmj_destination_recipient_limit = 1
# Don't rewrite remote headers