PIPE_CONNECT: fix feature-cache refresh
[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 .ifdef _HAVE_PIPE_CONNECT
14 pipelining_connect_advertise_hosts =
15 .endif
16
17 # ----- Main settings -----
18
19 spool_wireformat = true
20
21 primary_hostname = testhost.test.ex
22 domainlist local_domains = @ : test.ex
23
24 acl_smtp_rcpt = acl_r
25
26 .ifdef _HAVE_DKIM
27 log_selector = +received_recipients +dkim_verbose
28 .else
29 log_selector = +received_recipients
30 .endif
31
32
33 .ifdef _OPT_MAIN_TLS_CERTIFICATE
34 tls_certificate = DIR/aux-fixed/cert1
35 tls_privatekey = DIR/aux-fixed/cert1
36 .endif
37
38 queue_run_in_order = true
39
40 # ----- ACL -----
41
42 begin acl
43 acl_r:
44 accept condition = ${if != {$received_port}{PORT_S}}
45 control = queue_only
46 accept
47
48 # ----- Routers -----
49
50 begin routers
51
52 to_server:
53 driver = accept
54 condition = ${if = {$received_port}{PORT_S}}
55 transport = remote_smtp${if eq {OPT}{dkim} {_dkim}}
56 errors_to = ""
57
58 fail_remote_domains:
59 driver = redirect
60 domains = ! +local_domains
61 data = :fail: unrouteable mail domain "$domain"
62
63 localuser:
64 driver = accept
65 transport = local_delivery
66
67
68 # ----- Transports -----
69
70 begin transports
71
72 local_delivery:
73 driver = appendfile
74 file = DIR/test-mail/$local_part
75 headers_add = "X-body-linecount: $body_linecount\n\
76 X-message-linecount: $message_linecount\n\
77 X-received-count: $received_count"
78 return_path_add
79 user = CALLER
80
81 remote_smtp:
82 driver = smtp
83 hosts = 127.0.0.1
84 port = PORT_D
85 allow_localhost
86
87 remote_smtp_dkim:
88 driver = smtp
89 hosts = 127.0.0.1
90 port = PORT_D
91 allow_localhost
92
93 .ifdef OPT
94 dkim_domain = test.ex
95 dkim_selector = sel
96 dkim_private_key = DIR/aux-fixed/dkim/dkim.private
97 .ifndef HEADERS_MAXSIZE
98 dkim_sign_headers = LIST
99 .endif
100 .endif
101
102 # ----- Retry -----
103
104 begin retry
105 * * F,30m,5m;
106 # End