Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0243 |
2 | ||
3 | exim_path = EXIM_PATH | |
bc3c7bb7 | 4 | keep_environment = |
afda344b PH |
5 | host_lookup_order = bydns |
6 | primary_hostname = myhost.test.ex | |
afda344b PH |
7 | spool_directory = DIR/spool |
8 | log_file_path = DIR/spool/log/%slog | |
9 | gecos_pattern = "" | |
10 | gecos_name = CALLER_NAME | |
23f3dc67 | 11 | tls_advertise_hosts = |
afda344b PH |
12 | |
13 | # ----- Main settings ----- | |
14 | ||
15 | acl_smtp_rcpt = check_recipient | |
16 | ||
17 | domainlist local_domains = nl.demon.net | |
18 | qualify_domain = nl.demon.net | |
19 | ||
20 | ||
21 | # ----- ACL ----- | |
22 | ||
23 | begin acl | |
24 | ||
25 | check_recipient: | |
26 | deny message = unrouteable address | |
27 | !verify = recipient | |
28 | accept domains = +local_domains | |
29 | deny message = relay not permitted | |
30 | ||
31 | ||
32 | # ----- Routers ----- | |
33 | ||
34 | begin routers | |
35 | ||
36 | auto_antwoord: | |
37 | driver = accept | |
38 | domains = *.demon.net | |
39 | require_files = DIR/aux-fixed/TESTNUM.antwoord-${local_part} | |
40 | retry_use_local_part | |
41 | transport = stuur_auto_antwoord | |
42 | unseen | |
43 | ||
44 | algemeen_aliases: | |
45 | driver = redirect | |
46 | allow_defer | |
47 | data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.algemeen}} | |
48 | domains = "nl.demon.net:*.nl.demon.net:fax-gw.demon.nl: \ | |
49 | www-3.demon.nl : localhost" | |
50 | file_transport = address_file | |
51 | group = EXIMGROUP | |
52 | pipe_transport = address_pipe | |
53 | retry_use_local_part | |
54 | user = EXIMUSER | |
55 | ||
56 | rest: | |
57 | driver = accept | |
58 | retry_use_local_part | |
59 | transport = local_delivery | |
60 | ||
61 | ||
62 | # ----- Transports ----- | |
63 | ||
64 | begin transports | |
65 | ||
66 | local_delivery: | |
67 | driver = appendfile | |
68 | file = DIR/test-mail/$local_part | |
69 | user = CALLER | |
70 | ||
71 | address_file: | |
72 | driver = appendfile | |
73 | user = CALLER | |
74 | ||
75 | address_pipe: | |
76 | driver = pipe | |
77 | ||
78 | stuur_auto_antwoord: | |
79 | driver = autoreply | |
80 | file = DIR/aux-fixed/TESTNUM.antwoord-${local_part} | |
81 | file_expand | |
82 | from = "${lookup{$local_part} lsearch \ | |
83 | {DIR/aux-fixed/TESTNUM.beantwoorders} {$value}}" | |
84 | subject = "Re: $h_subject" | |
85 | to = ${return_path} | |
86 | reply_to = x@y, \n p@q | |
87 | user = EXIMUSER | |
88 | ||
89 | ||
90 | # ----- Retry ----- | |
91 | ||
92 | ||
93 | begin retry | |
94 | ||
95 | * * F,5d,10s | |
96 | ||
97 | ||
98 | # End |