1 = Mailbox Integration = 2 3 Use of the imip-agent software should not affect the solutions chosen to store 4 mail received by your mail system. However, the software does support direct 5 connections to mail storage solutions employing the LMTP protocol. See the 6 [[../MailIntegration/LMTP|LMTP guide]] for more information. 7 8 It can, however, be useful to see how delivery to various kinds of mailboxes 9 and mail storage is done, in case you have not already decided on a particular 10 solution. Tested solutions are as follows: 11 12 {{{#!table 13 '''Solution''' || '''Details''' 14 == 15 [[http://www.cyrusimap.org/|Cyrus]] is a mail storage system that exposes 16 mailboxes using the [[http://tools.ietf.org/html/rfc3501|IMAP]] protocol 17 || 18 The Cyrus documentation provides a guide on integrating Cyrus with 19 [[http://www.cyrusimap.org/docs/cyrus-imapd/2.5.6/install-configure.php#mta|MTAs]]. 20 == 21 [[http://dovecot.org/|Dovecot]] is a mail server that supports IMAP and 22 [[http://tools.ietf.org/html/rfc1939|POP3]]. It can be configured to serve 23 mail stored in traditional mailbox formats 24 || 25 The Dovecot documentation provides guides for integrating Dovecot with 26 [[http://wiki2.dovecot.org/LMTP/Exim|Exim]] and with 27 [[http://wiki2.dovecot.org/HowTo/PostfixDovecotLMTP|Postfix]]. 28 }}} 29 30 == Exim == 31 32 Example configuration files for Exim are distributed in `conf/exim/lmtp`: 33 34 {{{#!table 35 '''File''' || '''Purpose''' 36 == 37 `30_exim4-config_cyrus_lmtp` 38 || Delivers messages to Cyrus via LMTP 39 == 40 `30_exim4-config_dovecot_lmtp` 41 || Delivers messages to Dovecot via LMTP 42 }}} 43 44 On Debian systems, these files would be copied into the `/etc/exim4/conf.d/transport` 45 directory. 46 47 The mailbox integration for local system users is also found in the 48 `conf/exim/lmtp` directory: 49 50 {{{#!table 51 '''File''' || '''Purpose''' 52 == 53 `890_exim4-config_cyrus_lmtp_local_system` 54 || Routes messages for local system users to Cyrus 55 == 56 `890_exim4-config_dovecot_lmtp_local_system` 57 || Routes messages for local system users to Dovecot 58 }}} 59 60 Meanwhile, both the `conf/exim/ldap` and `conf/exim/simple` directories 61 provide the following files. The appropriate file for the chosen configuration 62 should be used: 63 64 {{{#!table 65 '''File''' || '''Purpose''' 66 == 67 `890_exim4-config_cyrus_lmtp_local_lmtp` 68 || Routes messages for local virtual users to Cyrus 69 == 70 `890_exim4-config_dovecot_lmtp_local_lmtp` 71 || Routes messages for local virtual users to Dovecot 72 }}} 73 74 On Debian systems, these files would be copied into the `/etc/exim4/conf.d/router` 75 directory. Depending on whether system user identities are to be employed for mail 76 or whether genuine virtual identities (not connected to the system) are to be 77 employed, one type (`local_system` or `local_lmtp`) of these files should be 78 selected. 79 80 == Postfix == 81 82 Example configuration files for Postfix are distributed in `conf/postfix/lmtp`: 83 84 {{{#!table 85 '''File''' || '''Purpose''' 86 == 87 `main.cf.example` 88 || Defines mailbox transports for Cyrus and Dovecot 89 == 90 `master.cf.items` 91 || Defines the LMTP service 92 }}} 93 94 These files provide example definitions for the `main.cf` and `master.cf` 95 files that typically reside under `/etc/postfix`. Their contents can be 96 merged with those files as appropriate.