default DH prime choice consistency
[exim.git] / test / confs / 4525
1 # Exim test configuration 4525
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_REQTLS
24 tls_advertise_requiretls =
25 .endif
26 .ifdef _HAVE_PIPE_CONNECT
27 pipelining_connect_advertise_hosts = :
28 .endif
29 .ifdef _HAVE_DMARC
30 dmarc_tld_file =
31 .endif
32 tls_advertise_hosts =
33
34 primary_hostname = myhost.test.ex
35
36 # ----- Main settings -----
37
38 acl_smtp_rcpt = accept logwrite = rcpt acl: macro: _DKIM_SIGN_HEADERS
39 acl_smtp_dkim = accept logwrite = dkim_acl: signer: $dkim_cur_signer bits: $dkim_key_length h=$dkim_headernames
40 acl_smtp_data = accept logwrite = data acl: dkim status $dkim_verify_status
41
42 dkim_verify_signers = $dkim_signers
43
44 DDIR=DIR/aux-fixed/dkim
45
46 log_selector = +received_recipients
47
48
49 # ----- Routers
50
51 begin routers
52
53 server_store:
54   driver =      accept
55   condition =   ${if eq {SERVER}{server}{yes}{no}}
56   transport =   file
57
58 client:
59   driver =      accept
60   transport =   send_to_server
61
62 # ----- Transports
63
64 begin transports
65
66 send_to_server:
67   driver = smtp
68   allow_localhost
69   hosts = HOSTIPV4
70   port = PORT_D
71   hosts_try_fastopen =  :
72
73 .ifdef FILTER
74   transport_filter =    /bin/cat - DIR/aux-fixed/TESTNUM.mlistfooter
75 .endif
76 .ifndef ALLOW
77   hosts_try_chunking = :
78 .endif
79
80   dkim_domain =         test.ex
81 .ifdef SELECTOR
82   dkim_selector =       SELECTOR
83 .else
84   dkim_selector =       sel
85 .endif
86
87   dkim_private_key =    ${extract {${length_3:$dkim_selector}} {\
88                                 ses=dkim512.private \
89                                 sel=dkim.private \
90                                 sed=dkim_ed25519.private \
91                                 }{DDIR/$value}}
92
93 .ifndef HEADERS_MAXSIZE
94   dkim_sign_headers =   OPT
95 .else
96   dkim_identity =       allheaders@$dkim_domain
97 .endif
98 .ifdef VALUE
99   dkim_hash =           VALUE
100 .endif
101 .ifdef STRICT
102   dkim_strict =         STRICT
103 .endif
104 .ifdef TIMES
105   dkim_timestamps =     TIMES
106 .endif
107
108 file:
109   driver =      appendfile
110   file =        DIR/test-mail/${bless:$local_part}
111   user =        CALLER
112
113 # End