Deal explicitly with attempt to callout via null transport; fixes crash.
[users/heiko/exim.git] / test / confs / 0398
1 # Exim test configuration 0398
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 primary_hostname = mail.test.ex
14 qualify_domain = test.ex
15
16 acl_smtp_rcpt = rcpt
17
18
19 # ----- ACL -----
20
21 begin acl
22
23 rcpt:
24   deny     senders = qq@remote
25           !verify = sender
26   warn     senders = qq@remote
27           !verify = sender/callout
28            log_message = $acl_verify_message
29   accept   senders = qq@remote
30
31   deny     local_parts = deny
32            !verify = sender/callout
33   warn     !verify = sender/callout
34            log_message = $acl_verify_message
35   warn     log_message = some other warning
36   accept
37
38
39 # ----- Routers -----
40
41 begin routers
42
43 r1:
44   domains = local
45   driver = accept
46   transport = t1
47
48 r2:
49   domains = remote
50   driver = manualroute
51   route_list = * 127.0.0.1
52   self = send
53   transport = t2
54
55
56 # ----- Transports -----
57
58 begin transports
59
60 t1:
61   driver = appendfile
62   file = DIR/test-mail/$local_part
63   user = CALLER
64
65 t2:
66   driver = smtp
67   port = PORT_S
68   allow_localhost
69
70
71 # End