Simple Mail Integration

Since the use of LDAP can be somewhat challenging and also excessive in some situations, examples of maintaining recipient information are provided that use an approach involving simple textual lists of identities.

In this simpler environment, recipient details must be manually edited in the virtual identity files, but this permits a very transparent way of administering the system.

Using Lists with Exim

Example configuration files for Exim are distributed in conf/exim/simple:

File

Purpose

010_exim4-config_people_outgoing

Defines recipients and outgoing mail routing

020_exim4-config_people

020_exim4-config_resources

020_exim4-config_people_outgoing_recipients

virtual_people

Defines recipient identities belonging to known domains

virtual_resources

virtual_domains

Defines recipient domains

Where local SMTP routing is being performed and the recipients are local system users, the following files are also useful:

File

Purpose

020_exim4-config_people_local_system

Defines routing for local recipients for delivery to mailboxes for local system users

virtual_people_local_system

Defines recipients for delivery to mailboxes for local system users

These files can be incorporated into the Exim configuration. On Debian systems, the numbered files can be copied into /etc/exim4/conf.d/router, whereas the virtual files can be copied into /etc/exim4.

Using Lists with Postfix

Example configuration files for Postfix are distributed in conf/postfix/simple:

File

Purpose

main.cf.example

Defines recipients and outgoing mail routing (for inclusion in main.cf)

virtual_alias_maps

Defines recipients and outgoing mail routing

virtual_alias_maps_people_outgoing

Where local SMTP routing is being performed, the following file is also useful:

File

Purpose

virtual_alias_maps_local_system

Defines recipients for delivery to mailboxes for local system users (installed into /etc/postfix/simple)

The following files are common to LDAP and simple integration and are found in conf/postfix:

File

Purpose

master.cf.items

Mail handler definitions for the imip-agent transports

transport

Transport definitions for /etc/postfix/transport

virtual

Outgoing message routing for /etc/postfix/virtual

These files can be incorporated into the Postfix configuration. On Debian systems, master.cf.items can be merged into /etc/postfix/master.cf, whereas the other files can be merged into any existing files of the same names in /etc/postfix.