# HG changeset patch # User Paul Boddie # Date 1445623298 -7200 # Node ID 232b443d9bba571ff3b3fd0361fd32ab4e3f6824 # Parent a17dcb642933ece66421dea007a5288fa442bca8 Added some sample Exim-to-Dovecot configuration files. diff -r a17dcb642933 -r 232b443d9bba README.txt --- a/README.txt Fri Oct 23 14:37:30 2015 +0200 +++ b/README.txt Fri Oct 23 20:01:38 2015 +0200 @@ -255,10 +255,18 @@ routing to local system users is typically supported "out of the box", this can provide a usable solution with minimal effort. +Where the mail system must instead route messages to mailbox providers +employing LMTP, some more effort is required. For Exim, some sample +configuration files are provided in conf/exim/lmtp to route messages for local +users to LMTP endpoints. + By using LMTP from the agent software, the issue of configuring the mail system to integrate with storage solutions is avoided, but then those solutions must expose their LMTP interface appropriately. +Configuring Mail Storage Providers for LMTP +------------------------------------------- + Although this topic is largely beyond the scope of this document, systems such as Cyrus and Dovecot can be configured to provide a Unix domain socket offering support for LMTP connections. diff -r a17dcb642933 -r 232b443d9bba conf/exim/lmtp/30_exim4-config_dovecot_lmtp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/conf/exim/lmtp/30_exim4-config_dovecot_lmtp Fri Oct 23 20:01:38 2015 +0200 @@ -0,0 +1,5 @@ +dovecot_lmtp: + debug_print = "T: dovecot_lmtp for $local_part@$domain" + driver = lmtp + socket = /var/run/dovecot/lmtp + batch_max = 200 diff -r a17dcb642933 -r 232b443d9bba conf/exim/lmtp/890_exim4-config_dovecot_lmtp_local --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/conf/exim/lmtp/890_exim4-config_dovecot_lmtp_local Fri Oct 23 20:01:38 2015 +0200 @@ -0,0 +1,7 @@ +dovecot_lmtp_local: + debug_print = "R: dovecot_lmtp_local for $local_part@$domain" + driver = accept + domains = +local_domains + local_parts = ! root + transport = dovecot_lmtp + cannot_route_message = Unknown user