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