ARC: fix signing when DKIM-signing is also being done
[users/jgh/exim.git] / test / confs / 0502
1 # Exim test configuration 0502
2
3 LAST=accept message = Your message here
4
5 .include DIR/aux-var/std_conf_prefix
6
7 primary_hostname = myhost.test.ex
8
9 # ----- Main settings -----
10
11 domainlist local_domains = test.ex
12 queue_only
13
14 acl_smtp_data = check_data
15 acl_smtp_mail = check_mail
16 acl_smtp_quit = check_quit
17 acl_smtp_rcpt = check_rcpt
18
19 # ------ ACLs ------
20
21 begin acl
22
23 check_data:
24   warn  set acl_c0 = ${eval:$acl_c0+1}
25         set acl_c3 = ${eval:$acl_c3+$acl_m0}
26   accept
27
28 check_mail:
29   warn  set acl_c1 = ${eval:$acl_c1+1}
30   accept
31
32 q_sub:
33   deny
34
35 check_quit:
36   warn     logwrite = Messages received: $acl_c1
37            logwrite = Messages accepted: $acl_c0
38            logwrite = Recipients:        $acl_c2
39            logwrite = Accepted:          $acl_c3
40
41   require  !acl = q_sub
42
43   LAST
44
45 check_rcpt:
46   warn  set acl_c2 = ${eval:$acl_c2+1}
47         set acl_m0 = ${eval:$acl_m0+1}
48   accept
49
50 # End