Rewrites: avoid a split log line when rewiting hits a malformed address. Bug 3160
[exim.git] / test / confs / 0576
index e75f94476127cc857153a23fe9e551ec6e9c7c4b..1b147aa45a62dbcf42e876b5ec08dd46cbb69237 100644 (file)
@@ -2,18 +2,13 @@
 
 SERVER =
 
-exim_path = EXIM_PATH
-keep_environment =
-host_lookup_order = bydns
-spool_directory = DIR/spool
-log_file_path = DIR/spool/log/SERVER%slog
-gecos_pattern = ""
-gecos_name = CALLER_NAME
-tls_advertise_hosts =
+.include DIR/aux-var/std_conf_prefix
 
 log_selector = +received_recipients +sender_on_delivery
 
 acl_smtp_rcpt = rcpt
+acl_not_smtp_start = not_smtp
+
 queue_only
 queue_run_in_order
 
@@ -23,9 +18,13 @@ begin acl
 
 rcpt:
   accept
-    queue = ${if eq {normal}{$local_part} {} {$local_part}}
+    queue = ${extract {$local_part} {normal="" alternate=alternate lowpri=lowpri}}
     logwrite = using queue '$queue_name'
 
+not_smtp:
+  accept
+    queue = example
+
 #---------------
 
 begin routers