sender verify callout
[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
afda344b
PH
6spool_directory = DIR/spool
7log_file_path = DIR/spool/log/%slog
8gecos_pattern = ""
9gecos_name = CALLER_NAME
10
11# ----- Main settings -----
12
13domainlist local_domains = @
14hostlist relay_hosts = sqlite;DIR/aux-fixed/sqlitedb \
15 select * from them where \
16 id='$sender_host_address'
17
18acl_smtp_rcpt = check_recipient
19sqlite_lock_timeout = 2
20
21
22# ----- ACL -----
23
24begin acl
25
26check_recipient:
27 accept domains = +local_domains
28 accept hosts = +relay_hosts
29 deny message = relay not permitted
30
31
32# ----- Routers -----
33
34begin routers
35
36r1:
37 driver = accept
38 address_data = ${lookup sqlite \
39 {DIR/aux-fixed/sqlitedb select name from them where id='userx'}}
40 transport = t1
41
42
43# ----- Transports -----
44
45begin transports
46
47t1:
48 driver = appendfile
49 file = DIR/test-mail/\
50 ${lookup sqlite{DIR/aux-fixed/sqlitedb select id from them where id='userx'}\
51 {$value}fail}
52 user = CALLER
53
54
55# End