1 # Exim test configuration 0502
3 LAST=accept message = Your message here
6 host_lookup_order = bydns
7 primary_hostname = myhost.test.ex
8 spool_directory = DIR/spool
9 log_file_path = DIR/spool/log/%slog
11 gecos_name = CALLER_NAME
13 # ----- Main settings -----
15 domainlist local_domains = test.ex
18 acl_smtp_data = check_data
19 acl_smtp_mail = check_mail
20 acl_smtp_quit = check_quit
21 acl_smtp_rcpt = check_rcpt
28 warn set acl_c0 = ${eval:$acl_c0+1}
29 set acl_c3 = ${eval:$acl_c3+$acl_m0}
33 warn set acl_c1 = ${eval:$acl_c1+1}
40 warn logwrite = Messages received: $acl_c1
41 logwrite = Messages accepted: $acl_c0
42 logwrite = Recipients: $acl_c2
43 logwrite = Accepted: $acl_c3
50 warn set acl_c2 = ${eval:$acl_c2+1}
51 set acl_m0 = ${eval:$acl_m0+1}