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