Fix CVE-2016-1531
[exim.git] / test / confs / 9100
1 # Exim test configuration 9100
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
12 # ----- Main settings -----
13
14 domainlist local_domains = @
15 hostlist   relay_hosts = net-mysql;select * from them where id='$sender_host_address'
16
17 acl_smtp_rcpt = check_recipient
18
19 mysql_servers = localhost/test/root/
20
21
22 # ----- ACL -----
23
24 begin acl
25
26 check_recipient:
27   accept  domains = +local_domains
28   accept  hosts = +relay_hosts
29   deny    message = relay not permitted
30
31
32 # ----- Routers -----
33
34 begin routers
35
36 r1:
37   driver = accept
38   address_data = ${lookup mysql{select name from them where id='ph10'}}
39   transport = t1
40
41
42 # ----- Transports -----
43
44 begin transports
45
46 t1:
47   driver = appendfile
48   file = DIR/test-mail/\
49     ${lookup mysql{select id from them where id='ph10'}{$value}fail}
50   user = CALLER
51
52
53 # End