summaryrefslogtreecommitdiff
path: root/test/confs/0378
blob: 3e4d85a8158e8cc8bcac6fb9648af8adcf2756f8 (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
# Exim test configuration 0378

.include DIR/aux-var/std_conf_prefix

primary_hostname = myhost.test.ex

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

domainlist local_domains = test.ex


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

begin routers

bounce:
  driver = redirect
  senders = :
  data = :blackhole:

defer:
  driver = redirect
  local_parts = ^defer
  allow_defer
  data = :defer: forced defer

aaaa_2nd_time:
  driver = redirect
  local_parts = aaaa
  condition = ${if first_delivery{no}{yes}}
  data = aaaa@$domain

aaaa:
  driver = redirect
  local_parts = aaaa
  allow_filter
  file_transport = t1
  pipe_transport = t2
  reply_transport = t3
  user = CALLER
  data = "# Exim filter\n\
          deliver defer_aaaa@$domain\n\
          save DIR/test-mail/file\n\
          pipe \"/bin/sh -c exit\"\n\
          mail subject autoreply\n\
               text \"This is an autoreply\""


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

begin transports

t1:
  driver = appendfile
  user = CALLER

t2:
  driver = pipe
  user = CALLER

t3:
  driver = autoreply
  user = CALLER
  initgroups


# ----- Retry -----

begin retry

* * F,5d,10s


# End