exim: Completely review the exim configuration.
[matthijs/servers/drsnuggles.git] / etc / exim4 / conf.d / router / 15_real_local
diff --git a/etc/exim4/conf.d/router/15_real_local b/etc/exim4/conf.d/router/15_real_local
new file mode 100644 (file)
index 0000000..d654524
--- /dev/null
@@ -0,0 +1,13 @@
+# This router allows reaching a local user while avoiding local processing.
+# This matches only the "localhost" domain, which is used in the last step of
+# delivery and should never be set on external messages. This can be used to
+# inform a user of a broken .forward file, for example. The userforward router
+# does this.
+
+real_local:
+  debug_print = "R: real_local for $local_part@$domain"
+  driver = accept
+  domains = localhost
+  local_part_prefix = real-
+  check_local_user
+  transport = maildir_home