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