Testsuite: add missing testcase files
[exim.git] / test / confs / 0906
1 # Exim test configuration 0906
2 SERVER=
3
4 exim_path = EXIM_PATH
5 keep_environment =
6 host_lookup_order = bydns
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/SERVER%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11 chunking_advertise_hosts = *
12 tls_advertise_hosts = ${if eq {SRV}{tls} {*}}
13
14 # ----- Main settings -----
15
16 spool_wireformat = true
17
18 primary_hostname = testhost.test.ex
19 domainlist local_domains = @ : test.ex
20
21 acl_smtp_rcpt = acl_r
22 log_selector = +received_recipients
23
24 .ifdef _OPT_MAIN_TLS_CERTIFICATE
25 tls_certificate = DIR/aux-fixed/cert1
26 tls_privatekey = DIR/aux-fixed/cert1
27 .endif
28
29 queue_run_in_order = true
30
31 # ----- ACL -----
32
33 begin acl
34 acl_r:
35  accept condition = ${if != {$received_port}{PORT_S}}
36         control = queue_only
37  accept
38
39 # ----- Routers -----
40
41 begin routers
42
43 to_server:
44   driver = accept
45   condition =   ${if = {$received_port}{PORT_S}}
46   transport =   remote_smtp${if eq {OPT}{dkim} {_dkim}}
47   errors_to =   ""
48
49 fail_remote_domains:
50   driver = redirect
51   domains = ! +local_domains
52   data = :fail: unrouteable mail domain "$domain"
53
54 localuser:
55   driver = accept
56   transport = local_delivery
57
58
59 # ----- Transports -----
60
61 begin transports
62
63 local_delivery:
64   driver = appendfile
65   file = DIR/test-mail/$local_part
66   headers_add = "X-body-linecount: $body_linecount\n\
67                  X-message-linecount: $message_linecount\n\
68                  X-received-count: $received_count"
69   return_path_add
70   user = CALLER
71
72 remote_smtp:
73   driver = smtp
74   hosts =       127.0.0.1
75   port =        PORT_D
76   allow_localhost
77
78 remote_smtp_dkim:
79   driver = smtp
80   hosts =       127.0.0.1
81   port =        PORT_D
82   allow_localhost
83
84 .ifdef OPT
85   dkim_domain =         test.ex
86   dkim_selector =       sel
87   dkim_private_key =    DIR/aux-fixed/dkim/dkim.private
88 .ifndef HEADERS_MAXSIZE
89   dkim_sign_headers =   LIST
90 .endif
91 .endif
92
93 # ----- Retry -----
94
95 begin retry
96 * * F,30m,5m;
97 # End