global queue_name
[users/jgh/exim.git] / test / confs / 0029
1 # Exim test configuration 0029
2
3 exim_path = EXIM_PATH
4 keep_environment =
5 host_lookup_order = bydns
6 primary_hostname = myhost.test.ex
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11 tls_advertise_hosts =
12
13 # ----- Main settings -----
14
15 acl_smtp_rcpt = check_rcpt
16
17
18 # ------ ACL ------
19
20 begin acl
21
22 check_rcpt:
23   require  verify = sender
24            verify = sender=\
25                     ${if eq {${domain:$sender_address}}{test.ex}\
26                     {${local_part:$sender_address}@abc.test.ex}\
27                     {$sender_address}}
28   accept
29
30
31 # ------ Routers ------
32
33 begin routers
34
35 r1:
36   driver = accept
37   domains = test.ex : xyz.test.ex
38   transport = t1
39
40 r2:
41   driver = accept
42   domains = abc.test.ex
43   local_parts = ok
44   transport = t1
45
46
47 # ------ Transports ------
48
49 begin transports
50
51 t1:
52   driver = appendfile
53   file = /dev/null
54
55 # End