Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0072 |
2 | ||
3 | ONCE=once=DIR/spool/autolog | |
4 | ONLY= | |
5 | RETURN= | |
6 | ||
d4dc049f JH |
7 | .include DIR/aux-var/std_conf_prefix |
8 | ||
afda344b PH |
9 | |
10 | # ----- Main settings ----- | |
11 | ||
12 | qualify_domain = test.ex | |
13 | ||
14 | ||
15 | # ----- Routers ----- | |
16 | ||
17 | begin routers | |
18 | ||
19 | filter: | |
20 | driver = redirect | |
21 | local_parts = userx-filter | |
22 | allow_filter | |
23 | data = #Exim filter\n seen mail text "This is an autoreply." | |
24 | user = EXIMUSER | |
25 | ||
26 | ||
27 | reply: | |
28 | driver = accept | |
29 | retry_use_local_part | |
30 | senders = ! | |
31 | transport = reply | |
32 | ||
33 | localuser: | |
34 | driver = accept | |
35 | check_local_user | |
36 | transport = local_delivery | |
37 | ||
38 | ||
39 | # ----- Transports ----- | |
40 | ||
41 | begin transports | |
42 | ||
43 | reply: | |
44 | driver = autoreply | |
45 | text = "Test auto reply to ${escape:$h_subject:}" | |
46 | to = $reply_address | |
47 | user = EXIMUSER | |
48 | ONCE | |
49 | RETURN | |
50 | ONLY | |
51 | ||
52 | local_delivery: | |
53 | driver = appendfile | |
54 | delivery_date_add | |
55 | envelope_to_add | |
56 | file = DIR/test-mail/$local_part | |
57 | return_path_add | |
58 | ||
59 | ||
60 | # End |