Small patch from the Sieve maintainer.
[users/jgh/exim.git] / test / confs / 0087
1 # Exim test configuration 0087
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 rfc1413_query_timeout = 0s
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11
12 # ----- Main settings -----
13
14 domainlist local_domains = test.ex
15
16 acl_smtp_rcpt = check_recipient
17 acl_smtp_data = check_message
18
19
20 # ----- ACL -----
21
22 begin acl
23
24 check_recipient:
25   accept  hosts = :
26   require verify = sender
27   accept  domains = +local_domains
28   deny    message = relay not permitted
29
30 check_message:
31   require verify = header_sender
32   accept
33
34
35 # ----- Routers -----
36
37 begin routers
38
39 defer:
40   driver = redirect
41   local_parts = defer
42   allow_defer
43   data = :defer: this is a forced defer
44
45 localuser:
46   driver = accept
47   local_parts = userx
48   verify_only
49
50
51 # End