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