Add $smtp_count_at_connection_start.
[users/jgh/exim.git] / test / confs / 0091
1 # Exim test configuration 0091
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 rfc1413_query_timeout = 0s
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11
12 # ----- Main settings -----
13
14 acl_smtp_rcpt = check_recipient
15 acl_smtp_data = check_message
16 domainlist local_domains = test.ex : *.test.ex
17
18 # ----- ACL -----
19
20 begin acl
21
22 check_recipient:
23   deny    hosts = ! V4NET.0.0.1
24          !verify = sender
25   accept  domains = +local_domains
26   deny    message = relay not permitted
27
28 check_message:
29   require verify = header_sender
30   accept
31
32
33 # ----- Routers -----
34
35 begin routers
36
37 localuser:
38   driver = accept
39   local_parts = userx
40   verify_only
41
42
43 # End