Testsuite: Use explicit interface for send to localhost
[exim.git] / test / confs / 3401
CommitLineData
afda344b
PH
1# Exim test configuration 3401
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
c8e2fc1e 11log_selector = +smtp_mailauth
afda344b
PH
12
13# ----- Main settings -----
14
15acl_smtp_rcpt = accept
16
17
18# ----- Authentication -----
19
20begin authenticators
21
22login:
23 driver = plaintext
24 public_name = LOGIN
25 client_send = : userx : secret
6f123593 26 client_set_id = userx
afda344b
PH
27
28plain:
29 driver = plaintext
30 public_name = PLAIN
31 client_send = ^userx^secret
32
4730f942
PH
33xlogin:
34 driver = plaintext
35 public_name = XLOGIN
36 client_send = : $auth1 : $auth1+$auth2
6f123593 37 client_set_id = $auth1
4730f942 38
afda344b
PH
39
40# ----- Routers -----
41
42begin routers
43
44try:
45 driver = manualroute
46 route_list = domain.com 127.0.0.1 byname
47 self = send
48 transport = smtp_try
49
50force:
51 driver = manualroute
52 route_list = authdomain.com 127.0.0.1 byname
53 self = send
54 transport = smtp_force
55
56
57# ----- Transports -----
58
59begin transports
60
61smtp_try:
62 driver = smtp
63 hosts_try_auth = *
64 port = PORT_S
30079bc1 65 interface = 127.0.0.1
afda344b
PH
66 authenticated_sender = ${if eq{$local_part}{forcesender}{force@x.y.z}fail}
67
68smtp_force:
69 driver = smtp
70 hosts_require_auth = *
71 port = PORT_S
30079bc1 72 interface = 127.0.0.1
afda344b
PH
73
74
75# ----- Retry -----
76
77
78begin retry
79
80* auth_failed
81* * F,1h,10m
82
83# End