exim-filter dynamic module
[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 .ifdef _HAVE_PRDR
15 acl_smtp_data_prdr = accept local_parts = okuser
16 .endif
17
18 prdr_enable
19 log_selector = +dkim_verbose
20
21 # ----- Routers
22
23 begin routers
24
25 client:
26   driver = accept
27   condition = ${if eq {SERVER}{server}{no}{yes}}
28   transport = send_to_server
29
30 server_dump:
31   driver = redirect
32   senders = ! :
33   data = :blackhole:
34
35 server_store:
36   driver = accept
37   transport = store
38
39 # ----- Transports
40
41 begin transports
42
43 store:
44   driver = appendfile
45   file = DIR/test-mail/store
46   return_path_add
47   user = CALLER
48
49 send_to_server:
50   driver = smtp
51   allow_localhost
52   hosts = HOSTIPV4
53   port = PORT_D
54   hosts_try_fastopen =  :
55
56   dkim_domain =         ${if def:sender_address_local_part {test.ex}}
57   dkim_selector =       sel
58   dkim_private_key =    DIR/aux-fixed/dkim/dkim.private
59   dkim_sign_headers =   From
60
61 # End