ACL: control = queue/first_pass_route
[exim.git] / test / confs / 0022
CommitLineData
afda344b
PH
1# Exim test configuration 0022
2
3SERVER=
4
d4dc049f
JH
5.include DIR/aux-var/std_conf_prefix
6
afda344b 7primary_hostname = myhost.test.ex
afda344b
PH
8
9# ----- Main settings -----
10
11hostlist some_hosts = net-lsearch;DIR/aux-var/TESTNUM.hosts
12
13acl_smtp_rcpt = $local_part
14log_selector = +smtp_connection
15hosts_connection_nolog = : 127.0.0.1
16qualify_domain = test.ex
17
18
19# ----- ACLs -----
20
21begin acl
22
23accept:
24 accept
25
26# Check "warn" with and without messages
27
28warn_empty:
29 warn
30 accept
31
32warn_log:
33 warn log_message = warn log message
34 accept
35
36warn_user:
37 warn message = warn user message
38 accept
39
40drop:
41 drop message = forcibly dropped
42
43nested_drop:
44 accept endpass
45 acl = drop
46
47nested_drop_require:
48 require acl = drop
49
50defer:
51 defer message = forcibly deferred
52
53defer_senders:
54 defer senders = :
55
56delay_accept:
57 accept delay = 1s
58
59delay_warn:
60 warn delay = 1s
61 accept
62
63freeze:
b01dd148
PH
64 accept logwrite = Connections=$smtp_count_at_connection_start
65 control = freeze
afda344b
PH
66
67queue_only:
68 accept control = queue_only
69
70host_check:
71 deny hosts = net-lsearch;DIR/aux-var/TESTNUM.hosts
72 message = host data >$host_data<
73
74host_check2:
75 deny message = host data >$host_data<
76 hosts = +some_hosts
77
78
79# ----- Routers -----
80
81begin routers
82
83accept:
84 driver = accept
85 transport = appendfile
86
87# ----- Transports -----
88
89begin transports
90
91appendfile:
92 driver = appendfile
0d2e392e 93 file = DIR/test-mail/${bless:$local_part}
afda344b
PH
94 user = CALLER
95
96# End