Routing: for efficiency, avoid complexifying the "condition" string until the second...
[users/heiko/exim.git] / test / confs / 0050
1 # Exim test configuration 0050
2
3 .include DIR/aux-var/std_conf_prefix
4
5 trusted_users = CALLER
6 primary_hostname = myhost.ex
7
8 # ----- Main settings -----
9
10 acl_smtp_rcpt = check_recipient
11
12
13 # ------ ACL ------
14
15 begin acl
16
17 check_recipient:
18   accept  hosts = :
19   deny    message = relay not permitted
20
21
22 # ----- Routers -----
23
24 begin routers
25
26 localuser:
27   driver = accept
28   local_parts = userx
29   transport = local_delivery
30
31
32 # ----- Transports -----
33
34 begin transports
35
36 local_delivery:
37   driver = appendfile
38   delivery_date_add
39   envelope_to_add
40   file = DIR/test-mail/$local_part
41   return_path_add
42   user = CALLER
43
44 # End