Tidying: coverity issues
[users/jgh/exim.git] / test / confs / 0079
1 # Exim test configuration 0079
2
3 exim_path = EXIM_PATH
4 keep_environment =
5 host_lookup_order = bydns
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
8 gecos_pattern = ""
9 gecos_name = CALLER_NAME
10 tls_advertise_hosts =
11
12 # ----- Main settings -----
13
14 domainlist local_domains = exim.test.ex
15
16 acl_smtp_rcpt = check_recipient
17 log_selector = +incoming_interface
18 qualify_domain = exim.test.ex
19 system_filter = DIR/aux-var/TESTNUM.filter
20 system_filter_file_transport = file
21 system_filter_reply_transport = reply
22 trusted_users = CALLER
23
24
25 # ------ ACL ------
26
27 begin acl
28
29 check_recipient:
30   accept  hosts = :
31   warn    message = X-Warning: $sender_host_address is blacklisted at $dnslist_domain
32           log_message = $sender_host_address is in $dnslist_domain
33           dnslists = rbl.test.ex
34   warn    message = X-Warning: $sender_host_address is blacklisted at $dnslist_domain
35           log_message = accepting postmaster from host in $dnslist_domain
36           recipients = postmaster@exim.test.ex
37           dnslists = rbl2.test.ex
38   accept  recipients = postmaster@exim.test.ex
39   deny    message = host is listed in $dnslist_domain
40           dnslists = rbl2.test.ex
41   require verify = sender
42   deny    message = unrouteable address
43          !verify = recipient
44   accept  domains = +local_domains
45   deny    message = relay not permitted
46
47
48 # ------ Routers ------
49
50 begin routers
51
52 system_aliases:
53   driver = redirect
54   allow_defer
55   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.aliases}}
56   qualify_preserve_domain
57   retry_use_local_part
58
59 localuser:
60   driver = accept
61   local_parts = userx
62   transport = local_delivery
63
64 caller:
65   driver = accept
66   check_local_user
67   transport = local_delivery
68
69
70 # ----- Transports -----
71
72 begin transports
73
74 local_delivery:
75   driver = appendfile
76   delivery_date_add
77   envelope_to_add
78   file = DIR/test-mail/$local_part
79   return_path_add
80   user = CALLER
81
82 file:
83   driver = appendfile
84   user = CALLER
85
86 reply:
87   driver = autoreply
88   user = CALLER
89
90
91 # ----- Retry -----
92
93 # End