File: MailIntegration--LMTP

package info (click to toggle)
imip-agent 0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 2,056 kB
  • sloc: python: 9,888; sh: 4,480; sql: 144; makefile: 8
file content (56 lines) | stat: -rw-r--r-- 1,643 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
= LMTP Delivery =

When imip-agent is configured to use LMTP, it connects directly to
[[../../MailboxIntegration|mail storage solutions]]. By using LMTP from the
agent software, the issue of configuring the mail system to integrate with
such solutions is avoided, but then those solutions must expose their LMTP
interface appropriately.

{{{#!graphviz
//format=svg
//transform=notugly
digraph lmtp {
  node [shape=box,fontsize="13.0",fontname="Helvetica",tooltip="LMTP delivery"];
  edge [tooltip="LMTP delivery"];
  rankdir=LR;

  mail [label="Incoming mail",shape=folder,style=filled,fillcolor=cyan];

  subgraph {
    rank=same;
    personrouter [label="Person router"];
    recipients [label="Recipient database",shape=folder];
  }

  subgraph {
    rank=same;
    personhandler [label="Person handler",style=filled,fillcolor=gold];
  }

  mailbox [label="Mailboxes\n(Cyrus, Dovecot, ...)",tooltip="Mailboxes"];

  mail -> personrouter -> personhandler -> mailbox;

  recipients -> personrouter;
}
}}}

Although this topic is largely beyond the scope of this documentation,
systems such as Cyrus and Dovecot can be configured to provide a Unix domain
socket offering support for LMTP connections.

== Cyrus ==

For Cyrus on Debian, the following bug report is pertinent:

 * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=494746

A permanent change in permissions on the Cyrus LMTP socket may be required to
make delivery available to the `lmtp` group:

{{{
dpkg-statoverride --force --update --add cyrus lmtp 750 /var/run/cyrus/socket
}}}

See the [[../../SystemUsers|system users]] documentation for a discussion of
users and groups.