Merge ssh://tahini.csx.cam.ac.uk/home/git/exim
[users/jgh/exim.git] / test / confs / 0136
1 # Exim test configuration 0136
2
3 BRB=true
4
5 exim_path = EXIM_PATH
6 host_lookup_order = bydns
7 rfc1413_query_timeout = 0s
8 spool_directory = DIR/spool
9 log_file_path = DIR/spool/log/%slog
10 gecos_pattern = ""
11 gecos_name = CALLER_NAME
12
13 # ----- Main settings -----
14
15 domainlist local_domains = test.ex
16
17 acl_smtp_rcpt = check_recipient
18 bounce_return_body = BRB
19 qualify_domain = test.ex
20 ignore_bounce_errors_after = 0s
21 trusted_users = CALLER
22
23
24 # ------ ACL ------
25
26 begin acl
27
28 check_recipient:
29   accept  hosts = :
30
31
32 # ----- Routers -----
33
34 begin routers
35
36 fail_remote_domains:
37   driver = redirect
38   domains = ! +local_domains
39   allow_fail
40   data = :fail: unrouteable mail domain "$domain" (:fail:)
41
42 forward:
43   driver = redirect
44   allow_filter
45   user = CALLER
46   no_check_local_user
47   file = DIR/aux-fixed/TESTNUM.filter
48   local_parts = forwarder : forwarder2
49   retry_use_local_part
50
51 unknown:
52   driver = redirect
53   allow_defer
54   allow_fail
55   data = :fail: Address unknown (:fail:)
56   local_parts = unknown
57   retry_use_local_part
58
59 smart:
60   driver = accept
61   retry_use_local_part
62   transport = local_delivery
63
64
65 # ----- Transports -----
66
67 begin transports
68
69 local_delivery:
70   driver = appendfile
71   file = DIR/test-mail/$local_part
72   user = CALLER
73
74
75 # ----- Retry -----
76
77
78 begin retry
79
80 *        *
81
82
83 # End