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