1 Date: Tue, 20 Aug 2002 07:33:36 -0700
2 From: "Kevin P. Fleming" <kpfleming@cox.net>
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).
15 # look in the Cyrus IMAPD mailboxes.db file for local_domains local
16 # parts to be verified
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}}
25 # rewrite local_domains local parts to be all lowercase
28 redirect_router = local_user
29 domains = +local_domains
30 data = ${lc:${local_part}}
32 # deliver local_domains messages
35 domains = +local_domains
36 transport = local_delivery
41 # deliver messages to Cyrus IMAPD using LMTP over TCP/IP on the loopback