Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0211 |
2 | ||
d4dc049f JH |
3 | .include DIR/aux-var/std_conf_prefix |
4 | ||
afda344b PH |
5 | |
6 | # ----- Main settings ----- | |
7 | ||
8 | domainlist local_domains = test.ex | |
9 | ||
10 | acl_smtp_rcpt = check_recipient | |
11 | ||
12 | log_selector = +sender_on_delivery | |
13 | qualify_domain = test.ex | |
14 | ||
15 | ||
16 | # ----- ACLs ----- | |
17 | ||
18 | begin acl | |
19 | ||
20 | check_recipient: | |
21 | accept hosts = : | |
22 | accept domains = +local_domains | |
23 | deny message = relay not permitted | |
24 | ||
25 | ||
26 | # ----- Routers ----- | |
27 | ||
28 | begin routers | |
29 | ||
30 | others: | |
31 | driver = manualroute | |
32 | domains = ! +local_domains | |
e69636bc JH |
33 | .ifdef LIST |
34 | route_data = 127.0.0.1:HOSTIPV4 | |
35 | .else | |
36 | route_data = localhost4.test.ex byname | |
37 | .endif | |
afda344b PH |
38 | self = send |
39 | transport = smtp | |
40 | no_more | |
41 | ||
42 | all: | |
43 | driver = accept | |
44 | retry_use_local_part | |
45 | transport = local_delivery | |
46 | ||
47 | ||
48 | # ----- Transports ----- | |
49 | ||
50 | begin transports | |
51 | ||
52 | smtp: | |
53 | driver = smtp | |
54 | port = PORT_S | |
e69636bc | 55 | command_timeout = 1s |
afda344b PH |
56 | |
57 | local_delivery: | |
58 | driver = appendfile | |
59 | file = DIR/test-mail/$local_part | |
60 | return_path_add | |
61 | user = CALLER | |
62 | ||
63 | ||
64 | # ----- Retry ----- | |
65 | ||
66 | ||
67 | begin retry | |
68 | ||
69 | * * F,5d,8h | |
70 | ||
71 | ||
72 | # End |