FreeBSD: fix sendfile shim
[exim.git] / test / confs / 2152
1 # Exim test configuration 2152
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 = chk_r
12
13 #log_selector =  +tls_peerdn
14
15 queue_only
16 queue_run_in_order
17
18 tls_advertise_hosts = *
19
20 tls_certificate = DIR/aux-fixed/cert1
21 tls_privatekey =  DIR/aux-fixed/cert1
22
23
24 # ----- ACL -----
25
26 begin acl
27
28 chk_r:
29   accept        condition =     ${if = {$received_port}{PORT_D2}}
30   accept        verify =        recipient/callout
31
32 # ----- Routers -----
33
34 begin routers
35
36 client:
37   driver = accept
38   condition = ${if !eq {SERVER}{server}}
39   transport = send_to_server
40
41 srvr_v:
42   driver = accept
43   verify_only
44   transport = send_to_server_v
45
46
47 # ----- Transports -----
48
49 begin transports
50
51 send_to_server:
52   driver =      smtp
53   allow_localhost
54   hosts =       127.0.0.1
55   port =        PORT_D
56   tls_verify_certificates = DIR/aux-fixed/cert1
57   tls_verify_cert_hostnames = :
58
59 send_to_server_v:
60   driver =      smtp
61   allow_localhost
62   hosts =       127.0.0.1
63   port =        PORT_D2
64   tls_verify_certificates = DIR/aux-fixed/cert1
65   tls_verify_cert_hostnames = :
66
67
68 # ----- Retry -----
69
70
71 begin retry
72
73 * * F,5d,10s
74
75
76 # End