summaryrefslogtreecommitdiff
path: root/debian/debconf/conf.d/router/500_exim4-config_hubuser
diff options
context:
space:
mode:
Diffstat (limited to 'debian/debconf/conf.d/router/500_exim4-config_hubuser')
-rw-r--r--debian/debconf/conf.d/router/500_exim4-config_hubuser16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/debconf/conf.d/router/500_exim4-config_hubuser b/debian/debconf/conf.d/router/500_exim4-config_hubuser
new file mode 100644
index 0000000..f61f5f1
--- /dev/null
+++ b/debian/debconf/conf.d/router/500_exim4-config_hubuser
@@ -0,0 +1,16 @@
+
+.ifdef DCconfig_smarthost DCconfig_satellite
+# This router is only used for configtype=satellite.
+# It takes care to route all mail targetted to <somelocaluser@this.machine>
+# to the host where we read our mail
+#
+hub_user:
+ condition = "${if eq {DEBCONFconfigtypeDEBCONF}{satellite} {true}{false}}"
+ debug_print = "R: hub_user for $local_part@$domain"
+ driver = redirect
+ data = ${local_part}@DCreadhost
+ check_local_user
+
+.endif
+
+