Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0185 |
2 | ||
3 | exim_path = EXIM_PATH | |
bc3c7bb7 | 4 | keep_environment = |
afda344b | 5 | host_lookup_order = bydns |
afda344b PH |
6 | spool_directory = DIR/spool |
7 | log_file_path = DIR/spool/log/%slog | |
8 | gecos_pattern = "" | |
9 | gecos_name = CALLER_NAME | |
23f3dc67 | 10 | tls_advertise_hosts = |
afda344b PH |
11 | |
12 | # ----- Main settings ----- | |
13 | ||
14 | domainlist local_domains = test.ex | |
15 | ||
16 | acl_smtp_rcpt = check_recipient | |
17 | qualify_domain = test.ex | |
18 | ||
19 | ||
20 | # ----- ACL ----- | |
21 | ||
22 | begin acl | |
23 | ||
24 | check_recipient: | |
25 | accept hosts = : | |
26 | accept domains = +local_domains | |
27 | deny message = relay not permitted | |
28 | ||
29 | ||
30 | # ----- Routers ----- | |
31 | ||
32 | begin routers | |
33 | ||
34 | all_R: | |
35 | driver = manualroute | |
36 | domains = ! +local_domains | |
37 | route_list = * 127.0.0.1 byname | |
38 | self = send | |
39 | transport = smtp | |
40 | no_more | |
41 | ||
42 | filter: | |
43 | driver = redirect | |
44 | allow_filter | |
45 | allow_freeze | |
46 | no_check_local_user | |
47 | file = DIR/aux-var/TESTNUM.filter | |
48 | owners = | |
49 | reply_transport = autoreply | |
50 | retry_use_local_part | |
51 | user = CALLER | |
52 | ||
53 | alias: | |
54 | driver = redirect | |
55 | allow_defer | |
56 | data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.alias}} | |
57 | retry_use_local_part | |
58 | ||
59 | all_L: | |
60 | driver = accept | |
61 | retry_use_local_part | |
62 | transport = appendfile | |
63 | ||
64 | ||
65 | # ----- Transports ----- | |
66 | ||
67 | begin transports | |
68 | ||
69 | appendfile: | |
70 | driver = appendfile | |
71 | file = DIR/test-mail/$local_part | |
72 | user = CALLER | |
73 | ||
74 | autoreply: | |
75 | driver = autoreply | |
76 | user = CALLER | |
77 | ||
78 | smtp: | |
79 | driver = smtp | |
80 | port = PORT_S | |
81 | ||
82 | ||
83 | # ----- Retry ----- | |
84 | ||
85 | ||
86 | begin retry | |
87 | ||
88 | * * F,5d,1d | |
89 | ||
90 | ||
91 | # End |