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