Testsuite: fix leftover in mime testing
[users/jgh/exim.git] / test / confs / 0502
1 # Exim test configuration 0502
2
3 LAST=accept message = Your message here
4
5 exim_path = EXIM_PATH
6 host_lookup_order = bydns
7 primary_hostname = myhost.test.ex
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 queue_only
17
18 acl_smtp_data = check_data
19 acl_smtp_mail = check_mail
20 acl_smtp_quit = check_quit
21 acl_smtp_rcpt = check_rcpt
22
23 # ------ ACLs ------
24
25 begin acl
26
27 check_data:
28   warn  set acl_c0 = ${eval:$acl_c0+1}
29         set acl_c3 = ${eval:$acl_c3+$acl_m0}
30   accept
31
32 check_mail:
33   warn  set acl_c1 = ${eval:$acl_c1+1}
34   accept
35
36 check_quit:
37   warn     logwrite = Messages received: $acl_c1
38            logwrite = Messages accepted: $acl_c0
39            logwrite = Recipients:        $acl_c2
40            logwrite = Accepted:          $acl_c3
41   LAST
42
43 check_rcpt:
44   warn  set acl_c2 = ${eval:$acl_c2+1}
45         set acl_m0 = ${eval:$acl_m0+1}
46   accept
47
48 # End