Commit | Line | Data |
---|---|---|
e0f3765a PH |
1 | Date: Tue, 20 Aug 2002 07:33:36 -0700 |
2 | From: "Kevin P. Fleming" <kpfleming@cox.net> | |
3 | ||
4 | Here it is, for Exim 4.10 and Cyrus IMAPD 2.1.5 using db3/db4-format | |
5 | mailbox database. This configuration delivers the messages to Cyrus | |
6 | IMAPD using LMTP over a TCP/IP socket, so the cyrus.conf file needs to | |
7 | start lmtpd as "lmtpd -a" so the connection will be pre-authenticated | |
8 | (given that, it is also important that the cyrus.conf file restrict | |
9 | lmtpd to listening on 127.0.0.1 _only_, otherwise random users could | |
10 | submit messages directly to lmtpd). | |
11 | ||
12 | ||
13 | routers: | |
14 | ||
15 | # look in the Cyrus IMAPD mailboxes.db file for local_domains local | |
16 | # parts to be verified | |
17 | local_user_verify: | |
18 | driver = accept | |
19 | domains = +local_domains | |
20 | local_part_suffix = +* | |
21 | local_part_suffix_optional | |
22 | condition = ${lookup{user.${local_part}} dbmnz {/storage/imap/mailboxes.db} {yes}{no}} | |
23 | verify_only | |
24 | ||
25 | # rewrite local_domains local parts to be all lowercase | |
26 | lowercase_local: | |
27 | driver = redirect | |
28 | redirect_router = local_user | |
29 | domains = +local_domains | |
30 | data = ${lc:${local_part}} | |
31 | ||
32 | # deliver local_domains messages | |
33 | local_user: | |
34 | driver = accept | |
35 | domains = +local_domains | |
36 | transport = local_delivery | |
37 | ||
38 | ||
39 | transport: | |
40 | ||
41 | # deliver messages to Cyrus IMAPD using LMTP over TCP/IP on the loopback | |
42 | interface | |
43 | local_delivery: | |
44 | driver = smtp | |
45 | protocol = lmtp | |
46 | allow_localhost = yes | |
47 | hosts = 127.0.0.1 | |
48 |