2378965580d8033075392f8fcb364838307a546b
[exim.git] / test / confs / 0157
1 # Exim test configuration 0157
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 spool_directory = DIR/spool
6 log_file_path = DIR/spool/log/%slog
7 gecos_pattern = ""
8 gecos_name = CALLER_NAME
9
10 # ----- Main settings -----
11
12 acl_smtp_rcpt = check_recipient
13
14 domainlist local_domains = test.ex
15 hostlist relay_hosts = V4NET.0.0.1 : V4NET.0.0.2
16 qualify_domain = test.ex
17
18 # ----- ACL -----
19
20 begin acl
21
22 check_recipient:
23   accept  hosts = :
24   accept  domains = +local_domains
25   accept  hosts = V4NET.0.0.1
26           endpass
27           message = invalid sender
28           senders = userx@test.ex
29   accept  hosts = +relay_hosts
30   deny    message = relay not permitted
31
32 # End