testcase
[exim.git] / test / confs / 9100
CommitLineData
afda344b
PH
1# Exim test configuration 9100
2
3exim_path = EXIM_PATH
bc3c7bb7 4keep_environment =
afda344b
PH
5host_lookup_order = bydns
6primary_hostname = myhost.test.ex
afda344b
PH
7spool_directory = DIR/spool
8log_file_path = DIR/spool/log/%slog
9gecos_pattern = ""
10gecos_name = CALLER_NAME
23f3dc67 11tls_advertise_hosts =
afda344b
PH
12
13# ----- Main settings -----
14
15domainlist local_domains = @
16hostlist relay_hosts = net-mysql;select * from them where id='$sender_host_address'
17
18acl_smtp_rcpt = check_recipient
19
1b781f48 20mysql_servers = localhost/test/root/
afda344b
PH
21
22
23# ----- ACL -----
24
25begin acl
26
27check_recipient:
28 accept domains = +local_domains
29 accept hosts = +relay_hosts
30 deny message = relay not permitted
31
32
33# ----- Routers -----
34
35begin routers
36
37r1:
38 driver = accept
39 address_data = ${lookup mysql{select name from them where id='ph10'}}
40 transport = t1
41
42
43# ----- Transports -----
44
45begin transports
46
47t1:
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