Added lib resolv to Darwin Makefile - hopefully not breaking older versions
[exim.git] / test / confs / 0212
1 # Exim test configuration 0212
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 = test.ex
14 domainlist relay_domains = test.ex
15
16 acl_smtp_rcpt = check_recipient
17 acl_smtp_vrfy = check_vrfy
18
19 qualify_domain = test.ex
20 smtp_accept_max_nonmail = 1000
21 trusted_users = CALLER
22
23 # ----- ACL -----
24
25 begin acl
26
27 check_recipient:
28   accept  hosts = :
29   deny    message = unrouteable address
30          !verify = recipient
31   accept  domains = +local_domains
32   accept  domains = +relay_domains
33   deny    message = relay not permitted
34
35 check_vrfy:
36   accept
37
38
39 # ----- Routers -----
40
41 begin routers
42
43 fail_remote_domains:
44   driver = redirect
45   domains = ! +local_domains
46   allow_fail
47   data = :fail: unrouteable mail domain "$domain"
48
49 smartuser:
50   driver = redirect
51   allow_defer
52   allow_fail
53   data = ${if match{$local_part}{^smartuser\\.(.*)}{$1}fail}
54   retry_use_local_part
55
56 alias:
57   driver = redirect
58   allow_defer
59   allow_fail
60   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.aliases}}
61   retry_use_local_part
62
63 forward:
64   driver = redirect
65   no_check_local_user
66   file = DIR/aux-fixed/TESTNUM.$local_part.forward
67   retry_use_local_part
68
69 all:
70   driver = accept
71   local_parts = userx
72   transport = local_delivery
73
74
75 # ----- Transports -----
76
77 begin transports
78
79 local_delivery:
80   driver = appendfile
81   file = DIR/test-mail/$local_part
82   return_path_add
83   user = CALLER
84
85
86 # ----- Retry -----
87
88
89 begin retry
90
91 * * F,5d,8h
92
93
94 # End