Fix CVE-2016-1531
[exim.git] / test / confs / 0485
1 # Exim test configuration 0485
2
3 exim_path = EXIM_PATH
4 keep_environment =
5 host_lookup_order = bydns
6 primary_hostname = myhost.test.ex
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11 tls_advertise_hosts =
12
13 # ----- Main settings -----
14
15 hostlist  ahosts = net-lsearch;DIR/aux-fixed/TESTNUM.data
16 hostlist  bhosts = net-lsearch;DIR/aux-fixed/TESTNUM.data2
17
18 acl_smtp_helo = acl_check_helo
19 acl_smtp_mail = acl_check_mail
20 acl_smtp_rcpt = acl_check_rcpt
21 trusted_users = CALLER
22
23
24 # ----- ACLs -----
25
26 begin acl
27
28 acl_check_helo:
29   warn   hosts    = +ahosts
30          logwrite = at HELO: >$host_data<
31   accept
32
33 acl_check_mail:
34   warn   logwrite = at MAIL: >$host_data<
35   warn   senders  = third@non-null
36          logwrite = other lookup at MAIL: ${lookup{xyz}lsearch{DIR/aux-fixed/TESTNUM.data3}}
37   warn  !senders  = :
38          hosts    = +bhosts
39          logwrite = at MAIL (non-null): >$host_data<
40   accept
41
42 acl_check_rcpt:
43   warn   logwrite = at RCPT: >$host_data<
44   warn   logwrite = Expansions: $qualify_domain, $local_part@$domain
45   accept
46
47
48 # ----- Routers -----
49
50 begin routers
51
52 r1:
53   driver = accept
54   transport = t1
55
56
57 # ----- Transports -----
58
59 begin transports
60
61 t1:
62   driver = appendfile
63   file = DIR/test-mail/$local_part
64   user = CALLER
65
66 # End