It turns out we shouldn't need this router at all, as it's handled by
authorStephen Gran <steve@lobefin.net>
Sun, 18 Apr 2010 13:39:55 +0000 (14:39 +0100)
committerStephen Gran <steve@lobefin.net>
Sun, 18 Apr 2010 13:39:55 +0000 (14:39 +0100)
the rewrite rule first
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/exim/templates/eximconf.erb

index a2eb539..ae5df43 100644 (file)
@@ -1396,26 +1396,6 @@ virt_direct:
   user = ${extract{user}{VDOMAINDATA}}
   #debug_print = .forward-${if exists {${home}/.forward-${local_part}} {${local_part}} {default}}
 
-# This router delivers to the LDAP generated mail-forward file.
-# It's only really useful for debian.org
-virt_users:
-  debug_print = "R: virt_users for $local_part@$domain"
-  driver = redirect
-  allow_defer
-  allow_fail
-  router_home_directory = ${extract{directory}{VDOMAINDATA}}
-  transport_current_directory = ${extract{directory}{VDOMAINDATA}}
-  user = ${extract{user}{VDOMAINDATA}}
-  group = ${extract{group}{VDOMAINDATA}}
-  data = ${if exists{${extract{directory}{VDOMAINDATA}{${value}/mail-forward.cdb}}}\
-             {${lookup{$local_part}cdb\
-             {${extract{directory}{VDOMAINDATA}{${value}/mail-forward.cdb}}}}}}
-  domains = +virtual_domains
-  file_transport = address_file
-  headers_add = "Delivered-To: ${local_part}${local_part_suffix}@${domain}"
-  pipe_transport = address_pipe
-  retry_use_local_part
-
 ######################################################################
 #                      TRANSPORTS CONFIGURATION                      #
 ######################################################################