Testsuite: avoid assuming 127.0.0.2 is a viable sending address
[users/heiko/exim.git] / test / confs / 5500
1 # Exim test configuration 5500
2 # Server PRDR
3
4 LOG_SELECTOR=
5
6 exim_path = EXIM_PATH
7 host_lookup_order = bydns
8 primary_hostname = myhost.test.ex
9 spool_directory = DIR/spool
10 log_file_path = DIR/spool/log/%slog
11 gecos_pattern = ""
12 gecos_name = CALLER_NAME
13 tls_advertise_hosts =
14
15 # ----- Main settings -----
16
17 domainlist local_domains = test.ex : *.test.ex
18
19 LOG_SELECTOR
20
21 qualify_domain = test.ex
22 trusted_users = CALLER
23
24 prdr_enable = true
25
26 acl_smtp_mail = mail_acl
27 acl_smtp_rcpt = accept
28 acl_smtp_data_prdr = prdr_acl
29 acl_smtp_data = data_acl
30
31 # ----- ACLs -----
32
33 begin acl
34
35 mail_acl:
36   accept logwrite = prdr_requested: <$prdr_requested>
37
38 prdr_acl:
39   defer local_parts = usery
40   deny  local_parts = userz
41   accept
42
43 data_acl:
44   deny  condition = ${if match {$recipients}{userq}}
45   accept
46
47 # ----- Transports -----
48
49 begin transports
50
51 t1:
52   driver = appendfile
53   file = DIR/test-mail/$local_part
54   user = CALLER
55
56 # ----- Routers -----
57
58 begin routers
59
60 r0:
61   driver = accept
62   transport = t1
63
64 # End