Support Rspamd. Patch from Andrew Lewis, lightly editorialised
[users/heiko/exim.git] / test / confs / 0243
1 # Exim test configuration 0243
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
8 gecos_pattern = ""
9 gecos_name = CALLER_NAME
10
11 # ----- Main settings -----
12
13 acl_smtp_rcpt = check_recipient
14
15 domainlist local_domains = nl.demon.net
16 qualify_domain = nl.demon.net
17
18
19 # ----- ACL -----
20
21 begin acl
22
23 check_recipient:
24   deny    message = unrouteable address
25          !verify = recipient
26   accept  domains = +local_domains
27   deny    message = relay not permitted
28
29
30 # ----- Routers -----
31
32 begin routers
33
34 auto_antwoord:
35   driver = accept
36   domains = *.demon.net
37   require_files = DIR/aux-fixed/TESTNUM.antwoord-${local_part}
38   retry_use_local_part
39   transport = stuur_auto_antwoord
40   unseen
41
42 algemeen_aliases:
43   driver = redirect
44   allow_defer
45   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.algemeen}}
46   domains = "nl.demon.net:*.nl.demon.net:fax-gw.demon.nl: \
47              www-3.demon.nl : localhost"
48   file_transport = address_file
49   group = EXIMGROUP
50   pipe_transport = address_pipe
51   retry_use_local_part
52   user = EXIMUSER
53
54 rest:
55   driver = accept
56   retry_use_local_part
57   transport = local_delivery
58
59
60 # ----- Transports -----
61
62 begin transports
63
64 local_delivery:
65   driver = appendfile
66   file = DIR/test-mail/$local_part
67   user = CALLER
68
69 address_file:
70   driver = appendfile
71   user = CALLER
72
73 address_pipe:
74   driver = pipe
75
76 stuur_auto_antwoord:
77   driver = autoreply
78   file = DIR/aux-fixed/TESTNUM.antwoord-${local_part}
79   file_expand
80   from = "${lookup{$local_part} lsearch \
81            {DIR/aux-fixed/TESTNUM.beantwoorders} {$value}}"
82   subject = "Re: $h_subject"
83   to = ${return_path}
84   reply_to = x@y, \n p@q
85   user = EXIMUSER
86
87
88 # ----- Retry -----
89
90
91 begin retry
92
93 * * F,5d,10s
94
95
96 # End