1 # Exim test configuration 1003
5 .include DIR/aux-var/std_conf_prefix
7 primary_hostname = myhost.test.ex
9 # ----- Main settings -----
11 acl_smtp_rcpt = accept
23 condition = ${if eq {SERVER}{server}{no}{yes}}
24 address_data = ${substr_1_1:$domain}
25 transport = send_to_server${if eq {1}{$address_data} {1} \
26 {${if eq {2}{$address_data} {2} \
27 {${if eq {3}{$address_data} {3} \
28 {${if eq {4}{$address_data} {4}{5}}}}}}}}
32 transport = local_delivery
35 # ----- Transports -----
41 file = DIR/test-mail/$local_part
47 hosts = ${if eq {$local_part}{user4} {127.0.0.1} {<; ::1}}
49 hosts_try_fastopen = :
50 interface = <; ::1 ; HOSTIPV4
55 hosts = ${if eq {$local_part}{user4} {127.0.0.1} {<; ::1}}
57 hosts_try_fastopen = :
58 interface = <; HOSTIPV6 ; HOSTIPV4
63 hosts = ${if eq {$local_part}{user4} {127.0.0.1} {<; ::1}}
65 hosts_try_fastopen = :
66 interface = <; ${if eq{0}{1}{HOSTIPV6}fail}
71 hosts = ${if eq {$local_part}{user4} {127.0.0.1} {<; ::1}}
73 hosts_try_fastopen = :
74 interface = <; ${if eq{0}{1}{HOSTIPV6}{ }}
79 hosts = ${if eq {$local_part}{user4} {127.0.0.1} {<; ::1}}
81 hosts_try_fastopen = :
87 hosts = ${if eq {$local_part}{user4} {127.0.0.1} {<; ::1}}
89 hosts_try_fastopen = :
90 interface = ${expand:$h_interface:}