Testsuite: Use explicit interface for send to localhost
[exim.git] / test / confs / 0568
1 # Exim test configuration 0568
2 # Recipient callout with AUTH
3
4 exim_path = EXIM_PATH
5 host_lookup_order = bydns
6 primary_hostname = myhost.test.ex
7 rfc1413_query_timeout = 0s
8 spool_directory = DIR/spool
9 log_file_path = DIR/spool/log/%slog
10 gecos_pattern = ""
11 gecos_name = CALLER_NAME
12
13 # ----- Main settings -----
14
15 acl_smtp_rcpt = check_rcpt
16
17 queue_only
18
19
20 # ----- Authentication -----
21
22 begin authenticators
23
24 plain:
25   driver = plaintext
26   public_name = PLAIN
27   client_send = ^userx^secret
28   server_advertise_condition =  yes
29   server_prompts =              :
30   server_condition =            yes
31   server_set_id =               $auth2
32
33
34 # ----- ACLs -----
35
36 begin acl
37
38 check_rcpt:
39   accept  verify = recipient/callout
40
41
42 # ----- Routers -----
43
44 begin routers
45
46 r1:
47   driver = accept
48   transport = ${if eq{force}{$domain} {t2}{t1}}
49
50
51 # ----- Transports -----
52
53 begin transports
54
55 t1:
56   driver = smtp
57   hosts = 127.0.0.1
58   port = PORT_S
59   interface = 127.0.0.1
60   allow_localhost
61   hosts_try_auth = *
62
63 t2:
64   driver = smtp
65   hosts = 127.0.0.1
66   port = PORT_S
67   interface = 127.0.0.1
68   allow_localhost
69   hosts_try_auth = *
70   authenticated_sender= brian
71
72 # End