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