Sync 4.next from master
[users/jgh/exim.git] / test / confs / 4550
1 # Exim test configuration 4550
2
3 SERVER=
4 OPT=
5
6 .include DIR/aux-var/std_conf_prefix
7
8 primary_hostname = myhost.test.ex
9
10 # ----- Main settings -----
11
12 acl_smtp_rcpt = accept
13 acl_smtp_dkim = accept logwrite = signer: $dkim_cur_signer bits: $dkim_key_length h=$dkim_headernames
14 acl_smtp_data_prdr = accept local_parts = okuser
15
16 prdr_enable
17
18 # ----- Routers
19
20 begin routers
21
22 client:
23   driver = accept
24   condition = ${if eq {SERVER}{server}{no}{yes}}
25   transport = send_to_server
26
27 server_dump:
28   driver = redirect
29   senders = ! :
30   data = :blackhole:
31
32 server_store:
33   driver = accept
34   transport = store
35
36 # ----- Transports
37
38 begin transports
39
40 store:
41   driver = appendfile
42   file = DIR/test-mail/store
43   return_path_add
44   user = CALLER
45
46 send_to_server:
47   driver = smtp
48   allow_localhost
49   hosts = HOSTIPV4
50   port = PORT_D
51
52   dkim_domain =         ${if def:sender_address_local_part {test.ex}}
53   dkim_selector =       sel
54   dkim_private_key =    DIR/aux-fixed/dkim/dkim.private
55   dkim_sign_headers =   From
56
57 # End