Testsuite: WELLKNOWN
[exim.git] / test / confs / 4515
1 # Exim test configuration 4515
2
3 SERVER=
4 OPT=
5 FAKE =
6
7 keep_environment = PATH
8 exim_path = EXIM_PATH
9 host_lookup_order = bydns
10 spool_directory = DIR/spool
11
12 .ifdef SERVER
13 log_file_path = DIR/spool/log/SERVER%slog
14 .else
15 log_file_path = DIR/spool/log/%slog
16 .endif
17
18 gecos_pattern = ""
19 gecos_name = CALLER_NAME
20 dns_cname_loops = 9
21 chunking_advertise_hosts = *
22
23 .ifdef _HAVE_PIPE_CONNECT
24 pipelining_connect_advertise_hosts = :
25 .endif
26 .ifdef _HAVE_DMARC
27 dmarc_tld_file =
28 .endif
29 tls_advertise_hosts =
30
31 primary_hostname = myhost.test.ex
32
33 # ----- Main settings -----
34
35 acl_smtp_rcpt = accept logwrite = rcpt acl: macro: _DKIM_SIGN_HEADERS
36 acl_smtp_dkim = accept logwrite = dkim_acl: signer: $dkim_cur_signer bits: $dkim_key_length h=$dkim_headernames
37 acl_smtp_data = accept logwrite = data acl: dkim status $dkim_verify_status
38
39 dkim_verify_signers = $dkim_signers
40
41 DDIR=DIR/aux-fixed/dkim
42
43 log_selector = +received_recipients
44
45
46 # ----- Routers
47
48 begin routers
49
50 server_store:
51   driver =      accept
52   condition =   ${if eq {SERVER}{server}{yes}{no}}
53   transport =   file
54
55 client:
56   driver =      accept
57   transport =   send_to_server
58
59 # ----- Transports
60
61 begin transports
62
63 send_to_server:
64   driver = smtp
65   allow_localhost
66   hosts = HOSTIPV4
67   port = PORT_D
68   hosts_try_fastopen =  :
69
70 .ifdef FILTER
71   transport_filter =    /bin/cat - DIR/aux-fixed/TESTNUM.mlistfooter
72 .endif
73 .ifndef ALLOW
74   hosts_try_chunking = :
75 .endif
76
77   dkim_domain =         test.ex
78 .ifdef SELECTOR
79   dkim_selector =       SELECTOR
80 .else
81   dkim_selector =       sel
82 .endif
83
84   dkim_private_key =    ${extract {${length_3:$dkim_selector}} {\
85                                 ses=dkim512.private \
86                                 sel=dkim.private \
87                                 sed=dkim_ed25519.private \
88                                 }{DDIR/$value}}
89
90 .ifndef HEADERS_MAXSIZE
91   dkim_sign_headers =   OPT
92 .else
93   dkim_identity =       allheaders@$dkim_domain
94 .endif
95 .ifdef VALUE
96   dkim_hash =           VALUE
97 .endif
98 .ifdef STRICT
99   dkim_strict =         STRICT
100 .endif
101 .ifdef TIMES
102   dkim_timestamps =     TIMES
103 .endif
104
105 file:
106   driver =      appendfile
107   file =        DIR/test-mail/$local_part
108   create_file = DIR/test-mail
109   user =        CALLER
110
111 # End