Get vmail working!
[hcoop/zz_old/config/exim4-hopper.git] / conf.d / transport / 40_exim4-config_virtual_delivery
dissimilarity index 60%
index 49a27ef..d18a328 100644 (file)
@@ -1,22 +1,16 @@
-# hcoop-change: This transport is used to deliver mail to virtual
-# mailboxes (i.e. email accounts which have been granted to non-hcoop
-# members by the owner of the domain)
-
-virtual_delivery:
-  debug_print = "T: virtual_delivery for $local_part@$domain"
-  driver = appendfile
-  user = ${extract{uid}{${tr{${lookup{$local_part@$domain} \
-                                 dbm{/etc/courier/exim.dat} \
-                        }}{|}{ }}}}
-  group = mail
-  mode = 0660
-  mode_fail_narrower = false
-  envelope_to_add
-  return_path_add
-  directory = ${extract{mail}{${tr{${lookup{$local_part@$domain} \
-                                 dbm{/etc/courier/exim.dat} \
-                        }}{|}{ }}}}${run{/etc/exim4/get-token \
-                        ${extract{uid}{${tr{${lookup{$local_part@$domain} \
-                                 dbm{/etc/courier/exim.dat} \
-                        }}{|}{ }}}}}{}}
-  maildir_format
+# hcoop-change: This transport is used to deliver mail to virtual
+# mailboxes (i.e. email accounts which have been granted to non-hcoop
+# members by the owner of the domain)
+
+virtual_delivery:
+  debug_print = "T: virtual_delivery for $local_part@$domain"
+  driver = appendfile
+  user = ${extract{uid}{$address_data}}
+  group = nogroup
+  mode = 0600
+  mode_fail_narrower = false
+  envelope_to_add
+  return_path_add
+  directory = ${extract{mail}{$address_data}}${run{/etc/exim4/get-token \
+                        ${extract{uid}{$address_data}}}{}}
+  maildir_format