619496b1b32b566a5781ad9fc0fe4836c291ecba
[users/jgh/exim.git] / test / confs / 0479
1 # Exim test configuration 0479
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 spool_directory = DIR/spool
6 log_file_path = DIR/spool/log/%slog
7 gecos_pattern = ""
8 gecos_name = CALLER_NAME
9
10 # ----- Main settings -----
11
12 acl_smtp_rcpt = rcpt
13
14
15 # ----- ACLs -----
16
17 begin acl
18
19 rcpt:
20   require logwrite = sender address is <$sender_address>
21           verify   = sender
22   accept
23
24
25 # ----- Routers -----
26
27 begin routers
28
29 r1:
30   driver = accept
31   transport = t1
32
33
34 # ----- Transports -----
35
36 begin transports
37
38 t1:
39   driver = smtp
40   port = PORT_S
41   hosts = 127.0.0.1
42   allow_localhost
43   connect_timeout = 1s
44
45
46 # ----- Rewrite -----
47
48 begin rewrite
49
50 a@b   rewritten-a@rewritten-b
51
52
53 # End