exim: Add initial configuration.
[matthijs/servers/drsnuggles.git] / etc / exim4 / conf.d / router / 900_exim4-config_local_user
diff --git a/etc/exim4/conf.d/router/900_exim4-config_local_user b/etc/exim4/conf.d/router/900_exim4-config_local_user
new file mode 100644 (file)
index 0000000..423c729
--- /dev/null
@@ -0,0 +1,15 @@
+
+### router/900_exim4-config_local_user
+#################################
+
+# This router matches local user mailboxes. If the router fails, the error
+# message is "Unknown user".
+
+local_user:
+  debug_print = "R: local_user for $local_part@$domain"
+  driver = accept
+  domains = +local_domains
+  check_local_user
+  local_parts = ! root
+  transport = LOCAL_DELIVERY
+  cannot_route_message = Unknown user