Supress TLS/Env warnings in checking and listing mode
[exim.git] / test / confs / 9200
1 # Exim test configuration 9200
2
3 SERVERS=localhost/test/ph10/
4
5 exim_path = EXIM_PATH
6 keep_environment =
7 host_lookup_order = bydns
8 primary_hostname = myhost.test.ex
9 spool_directory = DIR/spool
10 log_file_path = DIR/spool/log/%slog
11 gecos_pattern = ""
12 gecos_name = CALLER_NAME
13 tls_advertise_hosts =
14
15 # ----- Main settings -----
16
17 domainlist local_domains = @
18 hostlist   relay_hosts = net-pgsql;select * from them where \
19                                      id='$sender_host_address'
20
21 acl_smtp_rcpt = check_recipient
22
23 pgsql_servers = SERVERS
24
25
26 # ----- ACL -----
27
28 begin acl
29
30 check_recipient:
31   accept  domains = +local_domains
32   accept  hosts = +relay_hosts
33   deny    message = relay not permitted
34
35
36 # ----- Routers -----
37
38 begin routers
39
40 r1:
41   driver = accept
42   address_data = ${lookup pgsql{select name from them where id='ph10'}}
43   transport = t1
44
45
46 # ----- Transports -----
47
48 begin transports
49
50 t1:
51   driver = appendfile
52   file = DIR/test-mail/\
53     ${lookup pgsql{select id from them where id='ph10'}{$value}fail}
54   user = CALLER
55
56
57 # End