[Exim] "driver" concept?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Derek Simkowiak
Date:  
À: exim-users
Sujet: [Exim] "driver" concept?
    I'm trying to grasp the underlying Exim config model. In
particular, I want to know what the 'driver' config option is supposed to
represent.

    So I get to this part in the manual:
-----------------------------------------------------------------------------
Section 6.14. Format of driver configurations
[...]
Within a driver definition, there are two kinds of option: generic and
private. The generic options are those that apply to all drivers of the
same type (that is, all routers, all transports or all authenticators).
There is always at least one generic option setting, called driver, which
specifies which particular driver is being used.
[...]
The options may appear in any order, except that the driver option must
precede any private options, since these depend on the particular driver.
-----------------------------------------------------------------------------


    I'm sorry, but this just does not make sense.  Boil this down and
we get:


    "Within a driver definition, [...] there is [...] one [...]
setting, called 'driver', which specifies which particular driver is being
used.  The options [...] depend on the particular driver."


    How can one "specify" the driver to be used in the definition of a
"driver"?  To me that sounds like trying pick up a box while standing on
it.  Looking in the example config, I see lines like


driver = redirect

    ...and yet I do NOT see the definitions of 'redirect' anywhere.
According to the docs above, I would expect to see this line somewhere:


redirect:

    ...but I do not.  Is there a list of built-in drivers that do not
need to be defined in the config file?  (If so, where is that list in the
manual, and what are their default configs?)


    In short, what does the 'driver' config options actually
represent?



Thank You,
Derek

P.S.> Also note that Section 3.7 defines a "driver" as either a router or
a transport. But Section 6.14 above seems to define "driver" as a router,
a transport, or an authenticator. So is an authenticator a "driver"?