1 = Simple Mail Integration = 2 3 Since the use of [[../LDAP|LDAP]] can be somewhat challenging and also excessive 4 in some situations, examples of maintaining recipient information are provided 5 that use an approach involving simple textual lists of identities. 6 7 In this simpler environment, recipient details must be manually edited in the 8 virtual identity files, but this permits a very transparent way of 9 administering the system. 10 11 == Using Lists with Exim == 12 13 Example configuration files for Exim are distributed in `conf/exim/simple`: 14 15 {{{#!table 16 '''File''' || '''Purpose''' 17 == 18 `010_exim4-config_people_outgoing` 19 ||<rowspan="4"> Defines recipients and outgoing mail routing 20 == 21 `020_exim4-config_people` 22 == 23 `020_exim4-config_resources` 24 == 25 `020_exim4-config_people_outgoing_recipients` 26 == 27 `virtual_people` 28 ||<rowspan="2"> Defines recipient identities belonging to known domains 29 == 30 `virtual_resources` 31 == 32 `virtual_domains` 33 || Defines recipient domains 34 }}} 35 36 Where [[../LocalSMTP|local SMTP routing]] is being performed ''and'' the 37 recipients are local system users, the following files are also useful: 38 39 {{{#!table 40 '''File''' || '''Purpose''' 41 == 42 `020_exim4-config_people_local_system` 43 || Defines routing for local recipients for delivery to mailboxes for local 44 .. system users 45 == 46 `virtual_people_local_system` 47 || Defines recipients for delivery to mailboxes for local system users 48 }}} 49 50 These files can be incorporated into the Exim configuration. On Debian 51 systems, the numbered files can be copied into `/etc/exim4/conf.d/router`, 52 whereas the `virtual` files can be copied into `/etc/exim4`. 53 54 == Using Lists with Postfix == 55 56 Example configuration files for Postfix are distributed in `conf/postfix/simple`: 57 58 {{{#!table 59 '''File''' || '''Purpose''' 60 == 61 `main.cf.example` 62 || Defines recipients and outgoing mail routing (for inclusion in `main.cf`) 63 == 64 `virtual_alias_maps` 65 ||<rowspan="2"> Defines recipients and outgoing mail routing 66 == 67 `virtual_alias_maps_people_outgoing` 68 }}} 69 70 Where [[../LocalSMTP|local SMTP routing]] is being performed, the following 71 file is also useful: 72 73 {{{#!table 74 '''File''' || '''Purpose''' 75 == 76 `virtual_alias_maps_local_system` 77 || Defines recipients for delivery to mailboxes for local system users 78 .. (installed into `/etc/postfix/simple`) 79 }}} 80 81 The following files are common to [[../LDAP|LDAP]] and simple integration 82 and are found in `conf/postfix`: 83 84 {{{#!table 85 '''File''' || '''Purpose''' 86 == 87 `master.cf.items` 88 || Mail handler definitions for the imip-agent transports 89 == 90 `transport` 91 || Transport definitions for `/etc/postfix/transport` 92 == 93 `virtual` 94 || Outgoing message routing for `/etc/postfix/virtual` 95 }}} 96 97 These files can be incorporated into the Postfix configuration. On Debian 98 systems, `master.cf.items` can be merged into `/etc/postfix/master.cf`, 99 whereas the other files can be merged into any existing files of the same 100 names in `/etc/postfix`.