summaryrefslogtreecommitdiff
path: root/test/confs/0253
blob: b72de8cd2e19f0fcf06eccf8b45579c632049f7c (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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# Exim test configuration 0253

exim_path = EXIM_PATH
host_lookup_order = bydns
primary_hostname = myhost.test.ex
rfc1413_query_timeout = 0s
spool_directory = DIR/spool
log_file_path = DIR/spool/log/%slog
gecos_pattern = ""
gecos_name = CALLER_NAME

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

log_selector = +return_path_on_delivery
trusted_users = CALLER
remote_max_parallel = 1


# ----- Routers -----

begin routers

r0:
  driver = accept
  senders = :
  transport = t0

r1:
  driver = accept
  senders = abc@x.y.z
  transport = t1

r2:
  driver = accept
  senders = xyz@x.y.z
  transport = t2

r3:
  driver = accept
  transport = t3
  errors_to = lmn@myhost.test.ex


# ----- Transports -----

begin transports

t0:
  driver = appendfile
  file = DIR/test-mail/$local_part
  user = CALLER

t1:
  driver = appendfile
  batch_max = 100
  file = DIR/test-mail/t1
  return_path = modified@x.y.z
  use_bsmtp
  user = CALLER

t2:
  driver = appendfile
  file = DIR/test-mail/t2
  return_path = abc=$local_part+$domain@verp.domain
  use_bsmtp
  user = CALLER

t3:
  driver = smtp
  hosts = 127.0.0.1
  port = PORT_S
  max_rcpt = 1
  allow_localhost
  return_path = pqr=$local_part+$domain@verp.domain


# End