File: spec_12.html

package info (click to toggle)
exim-html 3.20-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge, woody
  • size: 2,868 kB
  • ctags: 4,188
  • sloc: makefile: 40; sh: 19
file content (124 lines) | stat: -rw-r--r-- 4,894 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<HTML>
<HEAD>
<!-- This HTML file has been created by texi2html 1.52
     from spec on 25 November 2000 -->

<TITLE>Exim Specification - 12. Driver specifications</TITLE>
</HEAD>
<body bgcolor="#FFFFFF" text="#00005A" link="#FF6600" alink="#FF9933" vlink="#990000">
Go to the <A HREF="spec_1.html">first</A>, <A HREF="spec_11.html">previous</A>, <A HREF="spec_13.html">next</A>, <A HREF="spec_59.html">last</A> section, <A HREF="spec_toc.html">table of contents</A>.
<P><HR><P>


<H1><A NAME="SEC397" HREF="spec_toc.html#TOC397">12. Driver specifications</A></H1>
<P>
<A NAME="IDX1013"></A>
The second, third, and fourth parts of Exim's configuration file specify which
transport, director, and router drivers are to be used. Directors and routers
are similar, in that an address is passed to a list of them in the order in
which they are defined, whereas the order in which transports are specified is
immaterial, because a transport is invoked only after being passed an address
by a director or a router. Section 3.4 discusses how the different
kinds of delivery driver interact.

</P>
<P>
The seventh part of the configuration file (if present) specifies the
authenticators that are to be used for SMTP connections (see chapter
35). These are a somewhat different kind of `driver' to the others,
but they are configured in a similar way.

</P>
<P>
The format of the configuration data is the same for all four types of driver,
and is as follows:

<PRE>
&#60;<EM>instance name</EM>&#62;:
  &#60;<EM>option</EM>&#62;
  ...
  &#60;<EM>option</EM>&#62;
</PRE>

<P>
<A NAME="IDX1014"></A>
<A NAME="IDX1015"></A>
There are two kinds of option: <EM>generic</EM> and <EM>private</EM>. The generic
options are those that apply to all drivers of the same type (that is, all
directors, all routers, all transports or all authenticators).
There is always at least one generic option, called <EM>driver</EM>, which specifies
which particular driver is being used.
<A NAME="IDX1016"></A>
The private options are particular to each driver, and none need appear.

</P>
<P>
The options may appear in any order, except that the <EM>driver</EM> option must
precede any private options, since these depend on the particular driver. For
this reason, it is recommended that <EM>driver</EM> always be the first option.

</P>
<P>
In earlier versions of Exim, commas were used between options, and the generic
options had to precede the private ones and be terminated by a semicolon. This
has not been the case for some time, and at release 3.00 the
backwards-compatibility code for ignoring commas and semicolons was removed.

</P>
<P>
Each instance of a driver is given an identifying <EM>instance name</EM> name for
reference in logging and elsewhere. The name can be any sequence of letters,
digits, and underscores (starting with a letter) and must be unique among
drivers of the same type. A router and a transport (for example) can each have
the same name, but no two router instances can have the same name. The name of
a driver instance should not be confused with the name of the underlying
driver. The configuration lines

<PRE>
remote_smtp:
  driver = smtp
</PRE>

<P>
create an instance of the <EM>smtp</EM> transport driver whose name is <EM>remote_smtp</EM>.
The same driver code can be used more than once, with different instance names
and different option settings each time. A second instance of the <EM>smtp</EM>
transport, with different options, might be defined thus:

<PRE>
special_smtp:
  driver = smtp
  port = 1234
  command_timeout = 10s
</PRE>

<P>
The names <EM>remote_smtp</EM> and <EM>special_smtp</EM> would be used to reference these
driver instances from directors or routers, and would appear in log lines.

</P>
<P>
Comment lines may appear in the middle of driver specifications. The full list
of option settings for any particular driver instance, including all the
defaults, can be extracted by making use of the -<EM>bP</EM> command line option (see
chapter 5).

</P>
<P>
The next chapter describes the environment in which local deliveries are done,
and how this is affected by the configurations of the relevant directors,
routers, and transports. Then there is a chapter describing the generic options
for transports, followed by descriptions of the available transport drivers.
Directors and routers have some generic options in common, and these are
covered in chapter 20 before the descriptions of the generic
options that are specific to each type of driver, and the drivers themselves.
The SMTP AUTH mechanism for client authentication is described in chapter
35, which is followed by descriptions of the available
authenticators.

</P>

<P><HR><P>
Go to the <A HREF="spec_1.html">first</A>, <A HREF="spec_11.html">previous</A>, <A HREF="spec_13.html">next</A>, <A HREF="spec_59.html">last</A> section, <A HREF="spec_toc.html">table of contents</A>.
</BODY>
</HTML>