1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/conf/postfix/ldap/lmtp_generic Sun Nov 01 00:28:31 2015 +0100
1.3 @@ -0,0 +1,1 @@
1.4 +/^local+(.*)@example\.com$/ ${1}@example.com
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/conf/postfix/ldap/master.cf.items Sun Nov 01 00:28:31 2015 +0100
2.3 @@ -0,0 +1,2 @@
2.4 +lmtp unix - - n - - lmtp
2.5 + -o lmtp_generic_maps=regexp:/etc/postfix/ldap/lmtp_generic
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
3.2 +++ b/conf/postfix/ldap/transport.items Sun Nov 01 00:28:31 2015 +0100
3.3 @@ -0,0 +1,4 @@
3.4 +# Local delivery to Cyrus:
3.5 +#local@example.com lmtp:unix:/var/run/cyrus/socket/lmtp
3.6 +# Local delivery to Dovecot:
3.7 +#local@example.com lmtp:unix:/var/run/dovecot/lmtp
4.1 --- a/docs/wiki/MailIntegration--LDAP Sun Nov 01 00:20:47 2015 +0100
4.2 +++ b/docs/wiki/MailIntegration--LDAP Sun Nov 01 00:28:31 2015 +0100
4.3 @@ -61,8 +61,26 @@
4.4 `virtual_alias_maps_resources.cf`
4.5 }}}
4.6
4.7 +Where [[../LocalSMTP|local SMTP routing]] is being performed, the following
4.8 +files are also useful:
4.9 +
4.10 +{{{#!table
4.11 +'''File''' || '''Purpose'''
4.12 +==
4.13 +`lmtp_generic`
4.14 +|| Configures LMTP delivery for local recipients
4.15 +==
4.16 +`master.cf.items`
4.17 +|| Enables LMTP delivery for local recipients
4.18 +==
4.19 +`transport.items`
4.20 +|| Defines LMTP delivery methods for local recipients
4.21 +}}}
4.22 +
4.23 These files can be incorporated into the Postfix configuration. On Debian
4.24 -systems, `main.cf.example` can be merged into `/etc/postfix/main.cf`,
4.25 +systems, `master.cf.items` can be merged into `/etc/postfix/master.cf`,
4.26 +`main.cf.example` can be merged into `/etc/postfix/main.cf`,
4.27 +`transport.items` can be merged into `/etc/postfix/transport`,
4.28 whereas the remaining files would be installed into `/etc/postfix/ldap`.
4.29
4.30 The following files are common to LDAP and [[../Simple|simple]] integration