summaryrefslogtreecommitdiff
path: root/test/confs/0243
blob: 5a2f50136e57939b4bb6039dc15756b7d06eb110 (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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# Exim test configuration 0243

.include DIR/aux-var/std_conf_prefix

primary_hostname = myhost.test.ex

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

acl_smtp_rcpt = check_recipient

domainlist local_domains = nl.demon.net
qualify_domain = nl.demon.net


# ----- ACL -----

begin acl

check_recipient:
  deny    message = unrouteable address
         !verify = recipient
  accept  domains = +local_domains
  deny    message = relay not permitted


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

begin routers

auto_antwoord:
  driver = accept
  domains = *.demon.net
  require_files = DIR/aux-fixed/TESTNUM.antwoord-${local_part}
  retry_use_local_part
  transport = stuur_auto_antwoord
  unseen

algemeen_aliases:
  driver = redirect
  allow_defer
  data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.algemeen}}
  domains = "nl.demon.net:*.nl.demon.net:fax-gw.demon.nl: \
             www-3.demon.nl : localhost"
  file_transport = address_file
  group = EXIMGROUP
  pipe_transport = address_pipe
  retry_use_local_part
  user = EXIMUSER

rest:
  driver = accept
  retry_use_local_part
  transport = local_delivery


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

begin transports

local_delivery:
  driver = appendfile
  file = DIR/test-mail/${bless:$local_part}
  user = CALLER

address_file:
  driver = appendfile
  user = CALLER

address_pipe:
  driver = pipe

stuur_auto_antwoord:
  driver = autoreply
  file = DIR/aux-fixed/TESTNUM.antwoord-${local_part}
  file_expand
  from = "${lookup{$local_part} lsearch \
           {DIR/aux-fixed/TESTNUM.beantwoorders} {$value}}"
  subject = "Re: $h_subject"
  to = ${return_path}
  reply_to = x@y, \n p@q
  user = EXIMUSER


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


begin retry

* * F,5d,10s


# End