X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=test%2Fconfs%2F1003;h=df1e4889146929ef946b9644d760be75075ff8c4;hb=277b99794bf90e4a64b4adee88c08bed417bc5ee;hp=bdbd2e6c3f85ece3bb1b3e5a07a8c0bad542955e;hpb=4fab92fbc2b63bac2d89c1dae69fa1845cb640b7;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/test/confs/1003 b/test/confs/1003 index bdbd2e6c3..df1e48891 100644 --- a/test/confs/1003 +++ b/test/confs/1003 @@ -21,7 +21,11 @@ begin routers client: driver = accept condition = ${if eq {SERVER}{server}{no}{yes}} - transport = send_to_server + address_data = ${substr_1_1:$domain} + transport = send_to_server${if eq {1}{$address_data} {1} \ + {${if eq {2}{$address_data} {2} \ + {${if eq {3}{$address_data} {3} \ + {${if eq {4}{$address_data} {4}{5}}}}}}}} server: driver = accept @@ -37,11 +41,52 @@ local_delivery: file = DIR/test-mail/$local_part user = CALLER +send_to_server1: + driver = smtp + allow_localhost + hosts = ${if eq {$local_part}{user4} {127.0.0.1} {<; ::1}} + port = PORT_D + hosts_try_fastopen = : + interface = <; ::1 ; HOSTIPV4 + +send_to_server2: + driver = smtp + allow_localhost + hosts = ${if eq {$local_part}{user4} {127.0.0.1} {<; ::1}} + port = PORT_D + hosts_try_fastopen = : + interface = <; HOSTIPV6 ; HOSTIPV4 + +send_to_server3: + driver = smtp + allow_localhost + hosts = ${if eq {$local_part}{user4} {127.0.0.1} {<; ::1}} + port = PORT_D + hosts_try_fastopen = : + interface = <; ${if eq{0}{1}{HOSTIPV6}fail} + +send_to_server4: + driver = smtp + allow_localhost + hosts = ${if eq {$local_part}{user4} {127.0.0.1} {<; ::1}} + port = PORT_D + hosts_try_fastopen = : + interface = <; ${if eq{0}{1}{HOSTIPV6}{ }} + +send_to_server5: + driver = smtp + allow_localhost + hosts = ${if eq {$local_part}{user4} {127.0.0.1} {<; ::1}} + port = PORT_D + hosts_try_fastopen = : + interface = <; ${if + send_to_server: driver = smtp allow_localhost - hosts = $h_hosts + hosts = ${if eq {$local_part}{user4} {127.0.0.1} {<; ::1}} port = PORT_D + hosts_try_fastopen = : interface = ${expand:$h_interface:}