Test for proper parsing of optional MAIL FROM args.
[users/heiko/exim.git] / test / confs / 0175
1 # Exim test configuration 0175
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 rfc1413_query_timeout = 0s
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
8 gecos_pattern = ""
9 gecos_name = CALLER_NAME
10
11 # ----- Main settings -----
12
13 acl_smtp_rcpt = check_recipient
14 domainlist local_domains = test.ex
15 qualify_domain = test.ex
16
17
18 # ----- ACL -----
19
20 begin acl
21
22 check_recipient:
23   require verify = sender
24   accept  domains = +local_domains
25   deny    message = relay not permitted
26
27 # ----- Routers -----
28
29 begin routers
30
31 fail_sender:
32   driver = manualroute
33   domains = ! +local_domains
34   route_list = bad.domain localhost byname
35   self = fail
36   verify_only
37   verify_sender
38
39 fail_sender2:
40   driver = manualroute
41   domains = ! +local_domains
42   fail_verify
43   route_list = bad.domain2 localhost byname
44   self = send
45   verify_only
46   verify_sender
47
48 lookuphost:
49   driver = dnslookup
50   domains = ! +local_domains
51   transport = smtp
52   no_more
53
54 all:
55   driver = accept
56   retry_use_local_part
57   transport = appendfile
58
59
60 # ----- Transports -----
61
62 begin transports
63
64 smtp:
65   driver = smtp
66
67 appendfile:
68   driver = appendfile
69   file = DIR/test-mail/$local_part
70   user = CALLER
71
72
73 # End