Testsuite: use actual hostname in SRS testcase
[exim.git] / test / confs / 1163
1 # Exim test configuration 1163
2
3 SERVER =
4
5 .include DIR/aux-var/tls_conf_prefix
6
7 primary_hostname = myhost.test.ex
8
9 # ----- Main settings -----
10
11 acl_smtp_rcpt = accept
12
13 log_selector = +smtp_connection+incoming_port+received_recipients
14
15 queue_only
16 queue_run_in_order
17 remote_max_parallel = 1
18
19 smtp_accept_max_nonmail = 0
20
21 tls_advertise_hosts = *
22 tls_certificate = DIR/aux-fixed/cert1
23
24
25 # ----- Routers -----
26
27 begin routers
28
29 client:
30   driver =      manualroute
31   condition =   ${if eq {SERVER}{server}{no}{yes}}
32   route_data =  127.0.0.1
33   self =        send
34   retry_use_local_part
35   transport =   send_to_server
36
37 server:
38   driver = accept
39   retry_use_local_part
40   transport = local_delivery
41
42
43 # ----- Transports -----
44
45 begin transports
46
47 local_delivery:
48   driver = appendfile
49   file = DIR/test-mail/$local_part
50   create_file = DIR/test-mail
51   headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
52   user = CALLER
53
54 send_to_server:
55   driver =              smtp
56   allow_localhost
57   port =                PORT_D
58   hosts_try_fastopen =  :
59   hosts_noproxy_tls =   :
60   tls_verify_certificates =     DIR/aux-fixed/cert1
61   tls_verify_cert_hostnames =   :
62   max_rcpt =            1
63
64 # End