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="16.0",fontname="sans-serif",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 The message is then routed to a mail delivery mechanism, perhaps by converting 48 the local address to a local system user identity: 49 50 {{{ 51 vole 52 }}} 53 54 The local delivery mechanism would then deposit the message in the user's mailbox. 55 Alternatively, routing for a mail storage solution would accept the message for 56 the local user and deliver it to that user's mailbox. 57 58 MTAs typically provide routing for local system users by default. Where the 59 mail system must instead route messages to mailbox providers employing LMTP, 60 some more effort may be required. See the 61 [[../../MailboxIntegration|mailbox integration guide]] for more details. 62 63 Configuration files for routing messages for explicitly-indicated local users 64 are provided in the [[../../MailIntegration/LDAP|LDAP]] and 65 [[../../MailIntegration/Simple|simple]] integration guides.