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