Tweak docs on difference between "local" and "remote" source messages
[users/heiko/exim.git] / test / confs / 0138
1 # Exim test configuration 0138
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 rfc1413_query_timeout = 0s
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 = exim.test.ex
16
17 # ----- ACL -----
18
19 begin acl
20
21 check_recipient:
22   accept  hosts = :
23   accept  recipients = postmaster@exim.test.ex
24   accept  dnslists = rbl3.test.ex
25   deny    message = host is listed in $dnslist_domain
26           dnslists = rbl2.test.ex
27   warn    message = X-Warning: $sender_host_address is listed at $dnslist_domain
28           dnslists = rbl.test.ex
29   require verify = sender
30   deny    message = unrouteable address
31          !verify = recipient
32   accept  domains = +local_domains
33   accept  domains = +relay_domains
34   deny    message = relay not permitted
35
36
37 # ----- Routers -----
38
39 begin routers
40
41 system_aliases:
42   driver = redirect
43   allow_defer
44   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.aliases}}
45   qualify_preserve_domain
46   retry_use_local_part
47
48 localuser:
49   driver = accept
50   local_parts = userx
51   transport = local_delivery
52
53
54 # ----- Transports -----
55
56 begin transports
57
58 local_delivery:
59   driver = appendfile
60   delivery_date_add
61   envelope_to_add
62   file = DIR/test-mail/$local_part
63   return_path_add
64   user = CALLER
65
66 file:
67   driver = appendfile
68   user = CALLER
69
70
71 # ----- Retry -----
72
73 # End