Multiple headers_add/remove options per router/transport - fixes bug 337
[exim.git] / test / confs / 2600
CommitLineData
afda344b
PH
1# Exim test configuration 2600
2
3exim_path = EXIM_PATH
4host_lookup_order = bydns
5primary_hostname = myhost.test.ex
6rfc1413_query_timeout = 0s
7spool_directory = DIR/spool
8log_file_path = DIR/spool/log/%slog
9gecos_pattern = ""
10gecos_name = CALLER_NAME
11
12# ----- Main settings -----
13
14domainlist local_domains = @
15hostlist relay_hosts = sqlite;DIR/aux-fixed/sqlitedb \
16 select * from them where \
17 id='$sender_host_address'
18
19acl_smtp_rcpt = check_recipient
20sqlite_lock_timeout = 2
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 sqlite \
40 {DIR/aux-fixed/sqlitedb select name from them where id='userx'}}
41 transport = t1
42
43
44# ----- Transports -----
45
46begin transports
47
48t1:
49 driver = appendfile
50 file = DIR/test-mail/\
51 ${lookup sqlite{DIR/aux-fixed/sqlitedb select id from them where id='userx'}\
52 {$value}fail}
53 user = CALLER
54
55
56# End