summaryrefslogtreecommitdiff
path: root/test/confs/4510
blob: 42c58aac5fac2c6783709731da7ba67ea53d5741 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Exim test configuration 4510

SERVER=
OPT=

.include DIR/aux-var/std_conf_prefix

primary_hostname = myhost.test.ex

# ----- Main settings -----

acl_smtp_rcpt = accept
acl_smtp_dkim = accept logwrite = signer: $dkim_cur_signer bits: $dkim_key_length h=$dkim_headernames
acl_smtp_data_prdr = accept local_parts = okuser

prdr_enable

# ----- Routers

begin routers

client:
  driver = accept
  condition = ${if eq {SERVER}{server}{no}{yes}}
  transport = send_to_server

server_dump:
  driver = redirect
  senders = ! :
  data = :blackhole:

server_store:
  driver = accept
  transport = store

# ----- Transports

begin transports

store:
  driver = appendfile
  file = DIR/test-mail/store
  return_path_add
  user = CALLER

send_to_server:
  driver = smtp
  allow_localhost
  hosts = HOSTIPV4
  port = PORT_D

  dkim_domain =		${if def:sender_address_local_part {test.ex}}
  dkim_selector =	sel
  dkim_private_key =	DIR/aux-fixed/dkim/dkim.private
  dkim_sign_headers =	From

# End