Testsuite: case for malware= avast
[exim.git] / test / confs / 2149
1 # Exim test configuration 2149
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 queue_only
18 queue_run_in_order
19
20 tls_advertise_hosts = *
21 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
22 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
23 tls_dhparam = ${if eq {SERVER}{server}{DIR/aux-fixed/dh1}fail}
24
25
26 # ----- Routers -----
27
28 begin routers
29
30 client:
31   driver = accept
32   condition = ${if eq {SERVER}{server}{no}{yes}}
33   retry_use_local_part
34   transport = send_to_server
35
36 server:
37   driver = accept
38   retry_use_local_part
39   transport = local_delivery
40
41
42 # ----- Transports -----
43
44 begin transports
45
46 local_delivery:
47   driver = appendfile
48   file = DIR/test-mail/$local_part
49   headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
50   user = CALLER
51
52 send_to_server:
53   driver = smtp
54   allow_localhost
55   hosts = 127.0.0.1
56   port = PORT_D
57   tls_try_verify_hosts = :
58
59 # End