Revert "increase spam message size limit"
[hcoop/config/exim.git] / conf.d / router / 300_exim4-config_real_local
index 5c5404b..e9c52c7 100644 (file)
@@ -6,10 +6,18 @@
 # processing. This can be used to inform a user of a broken .forward
 # file, for example. The userforward router does this.
 
+COND_LOCAL_SUBMITTER = "\
+               ${if match_ip{$sender_host_address}{:@[]}\
+                    {1}{0}\
+               }"
+
+# hcoop-change: Use unix_domains rather than local_domains.
+
 real_local:
   debug_print = "R: real_local for $local_part@$domain"
   driver = accept
-  domains = +local_domains
+  domains = +unix_domains
+  condition = COND_LOCAL_SUBMITTER
   local_part_prefix = real-
   check_local_user
   transport = LOCAL_DELIVERY