Remove extraneous #ifndef guards from config.h.default
[users/heiko/exim.git] / test / confs / 0079
1 # Exim test configuration 0079
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 domainlist local_domains = exim.test.ex
14
15 acl_smtp_rcpt = check_recipient
16 log_selector = +incoming_interface
17 qualify_domain = exim.test.ex
18 system_filter = DIR/aux-var/TESTNUM.filter
19 system_filter_file_transport = file
20 system_filter_reply_transport = reply
21 trusted_users = CALLER
22
23
24 # ------ ACL ------
25
26 begin acl
27
28 check_recipient:
29   accept  hosts = :
30   warn    message = X-Warning: $sender_host_address is blacklisted at $dnslist_domain
31           log_message = $sender_host_address is in $dnslist_domain
32           dnslists = rbl.test.ex
33   warn    message = X-Warning: $sender_host_address is blacklisted at $dnslist_domain
34           log_message = accepting postmaster from host in $dnslist_domain
35           recipients = postmaster@exim.test.ex
36           dnslists = rbl2.test.ex
37   accept  recipients = postmaster@exim.test.ex
38   deny    message = host is listed in $dnslist_domain
39           dnslists = rbl2.test.ex
40   require verify = sender
41   deny    message = unrouteable address
42          !verify = recipient
43   accept  domains = +local_domains
44   deny    message = relay not permitted
45
46
47 # ------ Routers ------
48
49 begin routers
50
51 system_aliases:
52   driver = redirect
53   allow_defer
54   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.aliases}}
55   qualify_preserve_domain
56   retry_use_local_part
57
58 localuser:
59   driver = accept
60   local_parts = userx
61   transport = local_delivery
62
63 caller:
64   driver = accept
65   check_local_user
66   transport = local_delivery
67
68
69 # ----- Transports -----
70
71 begin transports
72
73 local_delivery:
74   driver = appendfile
75   delivery_date_add
76   envelope_to_add
77   file = DIR/test-mail/$local_part
78   return_path_add
79   user = CALLER
80
81 file:
82   driver = appendfile
83   user = CALLER
84
85 reply:
86   driver = autoreply
87   user = CALLER
88
89
90 # ----- Retry -----
91
92 # End