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