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