Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 9001 |
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 | ||
16 | # ----- Routers ----- | |
17 | ||
18 | begin routers | |
19 | ||
20 | r0: | |
21 | driver = accept | |
22 | senders = : | |
23 | transport = t1 | |
24 | ||
25 | r1: | |
26 | driver = redirect | |
27 | data = ${lookup ldap user="cn=xxx,o=yyy,c=UK" pass="secret" \ | |
28 | ldap:///o=zzz,c=UK,?sn?sub?(cn=foo)}} | |
29 | ||
30 | ||
31 | # ----- Transports ----- | |
32 | ||
33 | begin transports | |
34 | ||
35 | t1: | |
36 | driver = appendfile | |
37 | file = DIR/test-mail/$local_part | |
38 | user = CALLER | |
39 | ||
40 | ||
41 | # End |