# HG changeset patch # User Paul Boddie # Date 1446250281 -3600 # Node ID 619699f48fc90545da6cfb6b68763dbfd909f494 # Parent f7813511d4122db7e1a096df0d64c1aa8433ce6d Added support for explicit LMTP routing for Exim and Dovecot. Tidied up and updated the documentation. diff -r f7813511d412 -r 619699f48fc9 conf/exim/lmtp/890_exim4-config_dovecot_lmtp_local_lmtp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/conf/exim/lmtp/890_exim4-config_dovecot_lmtp_local_lmtp Sat Oct 31 01:11:21 2015 +0100 @@ -0,0 +1,8 @@ +dovecot_lmtp_local_lmtp: + debug_print = "R: dovecot_lmtp_local_lmtp for $local_part@$domain" + driver = accept + domains = +local_domains + local_part_prefix = lmtp+ + local_parts = lsearch;/etc/exim4/virtual_people + transport = dovecot_lmtp + cannot_route_message = Unknown user diff -r f7813511d412 -r 619699f48fc9 conf/exim/simple/020_exim4-config_people_local --- a/conf/exim/simple/020_exim4-config_people_local Fri Oct 30 23:12:54 2015 +0100 +++ b/conf/exim/simple/020_exim4-config_people_local Sat Oct 31 01:11:21 2015 +0100 @@ -3,4 +3,5 @@ driver = redirect domains = lsearch;/etc/exim4/virtual_domains data = ${lookup{$local_part}lsearch{/etc/exim4/virtual_people_local}} + #data = ${lookup{$local_part}lsearch{/etc/exim4/virtual_people_local_lmtp}} cannot_route_message = Unknown user diff -r f7813511d412 -r 619699f48fc9 conf/exim/simple/virtual_people_local_lmtp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/conf/exim/simple/virtual_people_local_lmtp Sat Oct 31 01:11:21 2015 +0100 @@ -0,0 +1,2 @@ +local+paul.boddie: lmtp+paul.boddie +local+vincent.vole: lmtp+vincent.vole diff -r f7813511d412 -r 619699f48fc9 docs/wiki/MailIntegration--Simple --- a/docs/wiki/MailIntegration--Simple Fri Oct 30 23:12:54 2015 +0100 +++ b/docs/wiki/MailIntegration--Simple Sat Oct 31 01:11:21 2015 +0100 @@ -45,7 +45,10 @@ || Defines routing for local recipients for delivery to local mailboxes == `virtual_people_local` -|| Defines recipients and local users for delivery to local mailboxes +|| Defines recipients for delivery to mailboxes for local system users +== +`virtual_people_local_lmtp` +|| Defines recipients for delivery to mailboxes for true virtual users }}} These files can be incorporated into the Exim configuration. On Debian diff -r f7813511d412 -r 619699f48fc9 docs/wiki/MailboxIntegration --- a/docs/wiki/MailboxIntegration Fri Oct 30 23:12:54 2015 +0100 +++ b/docs/wiki/MailboxIntegration Sat Oct 31 01:11:21 2015 +0100 @@ -39,18 +39,29 @@ == `30_exim4-config_dovecot_lmtp` || Delivers messages to Dovecot via LMTP +}}} + +On Debian systems, these files would be copied into the `/etc/exim4/conf.d/transport` +directory. + +{{{#!table +'''File''' || '''Purpose''' == `890_exim4-config_cyrus_lmtp_local` || Routes messages for local system users to Cyrus == `890_exim4-config_dovecot_lmtp_local` || Routes messages for local system users to Dovecot +== +`890_exim4-config_dovecot_lmtp_local_lmtp` +|| Routes messages for local virtual users to Dovecot using an `lmtp` +.. prefix }}} -On Debian systems, the former file would be copied into the -`/etc/exim4/conf.d/transport` directory, whereas the latter would be -copied into the `/etc/exim4/conf.d/router` directory. The latter file is -appropriate only if system user identities are to be employed for mail. +On Debian systems, these files would be copied into the `/etc/exim4/conf.d/router` +directory. Depending on whether system user identities are to be employed for mail +or whether genuine virtual identities (not connected to the system) are to be +employed, one of these files should be selected. == Postfix ==