imip-agent

docs/wiki/MailIntegration--LocalSMTP

1073:562e94fc8827
2016-03-06 Paul Boddie Adjusted the __nonzero__ and __len__ methods of the database collection. freebusy-collections
     1 = Local SMTP Delivery =     2      3 By employing local SMTP, the burden of routing messages to suitable storage     4 becomes a configuration problem within the mail system itself.     5      6 {{{#!graphviz     7 //format=svg     8 //transform=notugly     9 digraph local_smtp {    10   node [shape=box,fontsize="13.0",fontname="Helvetica",tooltip="Local SMTP delivery"];    11   edge [tooltip="Local SMTP delivery"];    12   rankdir=LR;    13     14   mail [label="Incoming mail",shape=folder,style=filled,fillcolor=cyan];    15     16   subgraph {    17     rank=same;    18     personrouter [label="Person router"];    19     localrouter [label="Local router"];    20     recipients [label="Recipient database",shape=folder];    21   }    22     23   subgraph {    24     rank=same;    25     personhandler [label="Person handler",style=filled,fillcolor=gold];    26     localtransport [label="Local transport"];    27   }    28     29   mailbox [label="Mailboxes\n(Cyrus, Dovecot, ...)",tooltip="Mailboxes"];    30     31   mail -> personrouter -> personhandler;    32     33   recipients -> personrouter;    34   recipients -> localrouter;    35     36   personhandler -> localrouter -> localtransport -> mailbox;    37 }    38 }}}    39     40 Here, imip-agent connects to the mail transport agent (MTA) and sends a    41 message to an explicitly-indicated local user. For example:    42     43 {{{    44 local+vincent.vole@example.com    45 }}}    46     47 == Local System Users ==    48     49 With such a local user indicated, the message is then routed to a mail    50 delivery mechanism, perhaps by converting the local address to a local    51 system user identity (a user with an account on the system running the    52 software). For example:    53     54 {{{    55 vole    56 }}}    57     58 The local delivery mechanism would then deposit the message in the user's    59 mailbox. MTAs typically provide such routing for local system users by    60 default.    61     62 == Mailbox/Virtual Users ==    63     64 Alternatively, with a local user having been indicated, a message would be    65 routed for delivery by a mail storage solution which would accept the message    66 for the indicated user and deliver it to that user's mailbox. For example:    67     68 {{{    69 vincent.vole    70 }}}    71     72 Where such routing is performed to mailbox providers employing LMTP,    73 some additional configuration effort may be required. See the    74 [[../../MailboxIntegration|mailbox integration guide]] for more details.    75     76 Some of the routing for explicitly-indicated local users is dependent on the    77 identification of users and is described in the    78 [[../../MailIntegration/LDAP|LDAP]] and [[../../MailIntegration/Simple|simple]]    79 integration guides.