File: MailIntegration--LocalSMTP

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 (79 lines) | stat: -rw-r--r-- 2,334 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
= Local SMTP Delivery =

By employing local SMTP, the burden of routing messages to suitable storage
becomes a configuration problem within the mail system itself.

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

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

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

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

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

  mail -> personrouter -> personhandler;

  recipients -> personrouter;
  recipients -> localrouter;

  personhandler -> localrouter -> localtransport -> mailbox;
}
}}}

Here, imip-agent connects to the mail transport agent (MTA) and sends a
message to an explicitly-indicated local user. For example:

{{{
local+vincent.vole@example.com
}}}

== Local System Users ==

With such a local user indicated, the message is then routed to a mail
delivery mechanism, perhaps by converting the local address to a local
system user identity (a user with an account on the system running the
software). For example:

{{{
vole
}}}

The local delivery mechanism would then deposit the message in the user's
mailbox. MTAs typically provide such routing for local system users by
default.

== Mailbox/Virtual Users ==

Alternatively, with a local user having been indicated, a message would be
routed for delivery by a mail storage solution which would accept the message
for the indicated user and deliver it to that user's mailbox. For example:

{{{
vincent.vole
}}}

Where such routing is performed to mailbox providers employing LMTP,
some additional configuration effort may be required. See the
[[../../MailboxIntegration|mailbox integration guide]] for more details.

Some of the routing for explicitly-indicated local users is dependent on the
identification of users and is described in the
[[../../MailIntegration/LDAP|LDAP]] and [[../../MailIntegration/Simple|simple]]
integration guides.