1 # Exim test configuration 0502
3 LAST=accept message = Your message here
7 host_lookup_order = bydns
8 primary_hostname = myhost.test.ex
9 spool_directory = DIR/spool
10 log_file_path = DIR/spool/log/%slog
12 gecos_name = CALLER_NAME
15 # ----- Main settings -----
17 domainlist local_domains = test.ex
20 acl_smtp_data = check_data
21 acl_smtp_mail = check_mail
22 acl_smtp_quit = check_quit
23 acl_smtp_rcpt = check_rcpt
30 warn set acl_c0 = ${eval:$acl_c0+1}
31 set acl_c3 = ${eval:$acl_c3+$acl_m0}
35 warn set acl_c1 = ${eval:$acl_c1+1}
42 warn logwrite = Messages received: $acl_c1
43 logwrite = Messages accepted: $acl_c0
44 logwrite = Recipients: $acl_c2
45 logwrite = Accepted: $acl_c3
52 warn set acl_c2 = ${eval:$acl_c2+1}
53 set acl_m0 = ${eval:$acl_m0+1}