Testsuite: munge for FreeBSD
[exim.git] / test / confs / 0635
index 3c8a68708a5d7963947d24577515d70d42c0787c..4aec94e13db37a9e77b3b6e881e82ef738e50442 100644 (file)
@@ -2,30 +2,45 @@
 
 .include DIR/aux-var/std_conf_prefix
 
-primary_hostname = myhost.test.ex
 
 # ----- Main settings -----
 
-trusted_users = CALLER
-bounce_return_linesize_limit = 20
+domainlist local_domains = @
+
 acl_smtp_rcpt = accept
+acl_smtp_data = check_data
+trusted_users = CALLER
+
 
+# ----- ACL -----
+
+begin acl
+
+check_data:
+  accept logwrite = \$recipients: "$recipients"
+        logwrite = run-wrapped \$recipients: "${run{/bin/echo $recipients}}"
+        logwrite = \$value after \${run...}: '$value'
 
 # ----- Routers -----
 
 begin routers
 
-my_main_router:
-  driver =     manualroute
-  transport =  t1
-  route_list = * 127.0.0.1::PORT_S
-  self =       send
+fail_remote_domains:
+  driver = redirect
+  domains = ! +local_domains
+  data = :fail: unrouteable mail domain "$domain"
+
+localuser:
+  driver = accept
+  check_local_user
+  transport = local_delivery
 
 # ----- Transports -----
 
 begin transports
 
-t1:
-  driver =     smtp
+local_delivery:
+  driver = appendfile
+  file = DIR/test-mail/$local_part_data
 
 # End