Testsuite: avoid tryng to run in net 10.
[users/jgh/exim.git] / test / confs / 3452
1 # Exim test configuration 3452
2
3 SERVER =
4
5 exim_path = EXIM_PATH
6 host_lookup_order = bydns
7 primary_hostname = myhost.test.ex
8 spool_directory = DIR/spool
9 log_file_path = DIR/spool/log/SERVER%slog
10 gecos_pattern = ""
11 gecos_name = CALLER_NAME
12
13 # ----- Main settings -----
14
15 acl_smtp_rcpt = accept
16
17 log_selector = +tls_peerdn
18
19 queue_only
20 queue_run_in_order
21
22 tls_advertise_hosts = *
23
24 # Set certificate only if server
25
26 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
27 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
28
29
30 # ----- Authenticators -----
31
32 begin authenticators
33
34 plain:
35   driver = plaintext
36   public_name = LOGIN
37   server_prompts = Username : Password
38   server_condition = "\
39     ${if and {{eq{$1}{userx}}{eq{$2}{secret}}}{yes}{no}}"
40   server_set_id = $1
41   client_send = : userx : secret
42
43
44 # ----- Routers -----
45
46 begin routers
47
48 client:
49   driver = accept
50   condition = ${if eq {SERVER}{server}{no}{yes}}
51   retry_use_local_part
52   transport = send_to_server
53
54 server:
55   driver = accept
56   retry_use_local_part
57   transport = local_delivery
58
59
60 # ----- Transports -----
61
62 begin transports
63
64 local_delivery:
65   driver = appendfile
66   file = DIR/test-mail/$local_part
67   headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
68   user = CALLER
69
70 send_to_server:
71   driver = smtp
72   allow_localhost
73   hosts = 127.0.0.1
74   hosts_try_auth = *
75   port = PORT_D
76
77
78 # ----- Retry -----
79
80
81 begin retry
82
83 * * F,5d,10s
84
85
86 # End