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