Revert "Testsuite: Use explicit interface for send to localhost"
[exim.git] / test / confs / 0495
CommitLineData
afda344b
PH
1# Exim test configuration 0495
2
3exim_path = EXIM_PATH
4host_lookup_order = bydns
5primary_hostname = myhost.test.ex
6rfc1413_query_timeout = 0s
7spool_directory = DIR/spool
8log_file_path = DIR/spool/log/%slog
9gecos_pattern = ""
10gecos_name = CALLER_NAME
11
12# ----- Main settings -----
13
14acl_smtp_rcpt = check_rcpt
15mua_wrapper = TRUE
16trusted_users = CALLER
17
18# These settings should be ignored
19
20queue_only
21queue_smtp_domains = *
22deliver_drop_privilege = FALSE
23remote_max_parallel = 5
24
25
26# ----- ACL -----
27
28begin acl
29
30# The controls will be ignored
31
32check_rcpt:
33 accept control = queue_only
34 control = freeze
35
36
37# ----- Routers -----
38
39begin routers
40
41r1:
42 driver = redirect
43 data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.alias}}
44 file_transport = t3
45 allow_fail
46 allow_defer
47
48r2:
49 driver = accept
50 local_parts = otherhost
51 transport = t2
52
53r3:
54 driver = accept
55 local_parts = ^badport
56 transport = t4
57
58r9:
59 driver = accept
60 transport = t1
61 headers_add = ${if eq{$local_part}{addheader}{Added: text}}
62
63
64# ----- Transports -----
65
66begin transports
67
68t1:
69 driver = smtp
70 hosts = 127.0.0.1 : HOSTIPV4
71 port = PORT_S
72 allow_localhost
73 command_timeout = 1s
74
75t2:
76 driver = smtp
77 hosts = V4NET.9.8.7
78 port = PORT_S
79
80t3:
81 driver = appendfile
82 file = DIR/test-mail/$local_part
83 user = CALLER
84
85t4:
86 driver = smtp
87 hosts = V4NET.10.10.10
88 port = nonexistent
89
90# End