Re: [exim-dev] RFC: private vs. generic options in routers a…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Andreas Metzler
Dátum:  
Címzett: exim-dev
Tárgy: Re: [exim-dev] RFC: private vs. generic options in routers and transports
On 2014-11-17 Heiko Schlittermann <hs@???> wrote:
> when giving lessons about Exim it's always not easy to differentiate
> between the generic and the private options in the driver instance
> configuration blocks.

[...]
> What about adding some syntactic sugar, some decorations,
> to the private options. Either this way


>         dnslookup:
>             driver  = dnslookup
>             _check_srv = yes
>             domains = !+local_domains
>             transport = remote_smtp
>             ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
>             no_more


> … or even more verbose:


>         dnslookup:
>             driver  = dnslookup
>             dnslookup.check_srv = yes
>             domains = !+local_domains
>             transport = remote_smtp
>             ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
>             no_more


> What do you think? It's kind of a change, but with sensible coding it
> could be made compatible with all existing configurations.

[...]

The cost of renaming variables and dropping the old name is huge. Keeping
the old name around as an alternative name forever has also some
non-neglible cost (longer docs, slightly more complex, ugly).

OTOH the gain seems to be minimal.

cu Andreas
--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'