1 = LMTP Delivery = 2 3 When imip-agent is configured to use LMTP, it connects directly to 4 [[../../MailboxIntegration|mail storage solutions]]. By using LMTP from the 5 agent software, the issue of configuring the mail system to integrate with 6 such solutions is avoided, but then those solutions must expose their LMTP 7 interface appropriately. 8 9 ######## A diagram summarising LMTP integration. 10 11 {{{#!graphviz 12 //format=svg 13 //transform=notugly 14 digraph lmtp { 15 node [shape=box,fontsize="13.0",fontname="sans-serif",tooltip="LMTP delivery"]; 16 edge [tooltip="LMTP delivery"]; 17 rankdir=LR; 18 19 mail [label="Incoming mail",shape=folder,style=filled,fillcolor=cyan, 20 href="../../IncomingMessages"]; 21 22 subgraph { 23 rank=same; 24 personrouter [label="Person router"]; 25 recipients [label="Recipient database",shape=folder]; 26 } 27 28 subgraph { 29 rank=same; 30 personhandler [label="Person handler",style=filled,fillcolor=gold]; 31 } 32 33 mailbox [label="Mailboxes\n(Cyrus, Dovecot, ...)",tooltip="Mailboxes", 34 href="../../MailboxIntegration"]; 35 36 mail -> personrouter -> personhandler -> mailbox; 37 38 recipients -> personrouter; 39 } 40 }}} 41 42 ######## 43 44 Although this topic is largely beyond the scope of this documentation, 45 systems such as Cyrus and Dovecot can be configured to provide a Unix domain 46 socket offering support for LMTP connections. 47 48 == Cyrus == 49 50 For Cyrus on Debian, the following bug report is pertinent: 51 52 * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=494746 53 54 A permanent change in permissions on the Cyrus LMTP socket may be required to 55 make delivery available to the `lmtp` group: 56 57 {{{ 58 dpkg-statoverride --force --update --add cyrus lmtp 750 /var/run/cyrus/socket 59 }}} 60 61 See the [[../../SystemUsers|system users]] documentation for a discussion of 62 users and groups.