Chapter 7. The Directors

We’ve met all four of Exim’s directors in earlier chapters. Here is a list to remind you of them:

aliasfile

A director that expands aliases into one or more different addresses.

forwardfile

A director that handles users’ .forward files and Exim filter files.

localuser

A director that recognizes local usernames.

smartuser

A director that accepts any address; it is used as a “catch-all.”

In this chapter, there are separate sections for each director, but first we describe some additional generic options that apply only to directors (and not to routers). These can be divided into three of the same categories that were used in the previous chapter:

  • Those that set conditions for the running of the director.

  • Those that change what happens after a succesful run.

  • Those that add data to an address that is accepted by the driver, for use when that address is delivered.

Conditional Running of Directors

In addition to the options described in Section 6.1, in Chapter 6, there are some other conditional options that apply only to directors (not to routers).

Local Part Prefixes and Suffixes

There are a number of common situations in which it is helpful to be able to recognize a prefix or a suffix on a local part, and to handle the affix and the remainder of the local part independently. The prefix and suffix options provide this facility, and are introduced in Section 5.3.4, in Chapter 5. They can be set to colon-separated lists of strings. If either is set, ...

Get Exim: The Mail Transfer Agent now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.