1 # Exim test configuration 0139
5 host_lookup_order = bydns
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
9 gecos_name = CALLER_NAME
12 # ----- Main settings -----
14 domainlist local_domains = exim.test.ex
15 trusted_users = CALLER
17 acl_smtp_helo = check_helo
18 acl_smtp_rcpt = check_recipient
19 acl_smtp_mail = check_mail
20 acl_smtp_vrfy = check_vrfy
27 warn dnslists = rbl2.test.ex!=127.0.0.3 : rbl3.test.ex=127.0.0.3
31 warn dnslists = rbl.test.ex=127.0.0.1
32 warn dnslists = rbl.test.ex!=127.0.0.1
33 warn dnslists = rbl.test.ex!=127.0.0.3
34 warn dnslists = rbl.test.ex==127.0.0.1
35 warn dnslists = rbl.test.ex==127.0.0.1,127.0.0.2
36 warn dnslists = rbl.test.ex!==127.0.0.1
37 warn dnslists = rbl.test.ex!==127.0.0.3
38 warn dnslists = rbl.test.ex!==127.0.0.1,127.0.0.2
42 warn dnslists = rbl4.test.ex&0.0.0.6
43 warn dnslists = rbl4.test.ex&127.0.0.3
44 warn dnslists = rbl4.test.ex!&0.0.0.7
45 add_header = DNSlist: $dnslist_domain $dnslist_text $dnslist_matched
46 warn dnslists = rbl5.test.ex,rbl4.test.ex=127.0.0.128
47 add_header = DNSlist: $dnslist_domain $dnslist_text $dnslist_matched
51 warn message = X-Warn: host is listed in $dnslist_domain but not =127.0.0.3\
52 ${if def:dnslist_text{\n $dnslist_text}}
53 dnslists = rbl3.test.ex!=127.0.0.3
54 deny message = host is listed in $dnslist_domain with value 127.0.0.3\
55 ${if def:dnslist_text{\n$dnslist_text}}
56 dnslists = rbl3.test.ex=127.0.0.3
57 require verify = sender
58 deny message = unrouteable address
60 accept domains = +local_domains
61 deny message = relay not permitted
71 data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.aliases}}
72 qualify_preserve_domain
78 transport = local_delivery
81 # ----- Transports -----
89 file = DIR/test-mail/$local_part