Lookups: ret=key option
[exim.git] / test / confs / 0137
1 # Exim test configuration 0137
2
3 .include DIR/aux-var/std_conf_prefix
4
5
6 # ----- Main settings -----
7
8 log_selector = +subject
9 domainlist local_domains = test.ex
10 qualify_domain = test.ex
11 untrusted_set_sender = *
12
13
14 # ----- Routers -----
15
16 begin routers
17
18 smart:
19   driver = accept
20   retry_use_local_part
21   transport = ${if eq {t1}{$sender_address_local_part} {local_delivery} \
22                 {${if eq {t2}{$sender_address_local_part} {local_delivery_fcntl} \
23                 {${if eq {t3}{$sender_address_local_part} {local_delivery_fcntl_blocking} \
24                 {} }}}}}
25
26
27 # ----- Transports -----
28
29 begin transports
30
31 local_delivery:
32   driver = appendfile
33   file = DIR/test-mail/${bless:$local_part}
34   lock_interval = 1s
35   lock_retries = 2
36   user = CALLER
37
38 local_delivery_fcntl:
39   driver = appendfile
40   file = DIR/test-mail/${bless:$local_part}
41   lock_interval = 1s
42   lock_retries = 2
43   no_use_lockfile
44   user = CALLER
45
46 local_delivery_fcntl_blocking:
47   driver = appendfile
48   file = DIR/test-mail/${bless:$local_part}
49   lock_fcntl_timeout = 2s
50   lock_interval = 1s
51   lock_retries = 2
52   no_use_lockfile
53   user = CALLER
54
55
56 # ----- Retry -----
57
58 begin retry
59
60 *        *  F,4d,4d
61
62
63 # End