Explicit IPv6 addresses for mysql and pgsql
[exim.git] / test / confs / 0624
index 2ffd0a18e533e5f95c46648d5a3658a6bb9c6944..a90a0d09af9a7f4057e4e3812e0fc41399da52e7 100644 (file)
@@ -19,6 +19,7 @@ begin acl
 
 delay:
   accept
+        logwrite =     $sender_host_name
         delay = 2s
 
 # ----- Routers -----
@@ -31,9 +32,10 @@ r:
 begin transports
 smtp:
        driver =        smtp
-       hosts =         127.0.0.1
+       hosts =         ${if eq {b}{$local_part} {HOSTIPV4}{127.0.0.1}}
        port =          ${if eq {c}{$local_part} {PORT_D2}{PORT_D}}
        allow_localhost
+       hosts_try_fastopen =
        max_rcpt =      1
 
 # ----- Retry -----