[exim-dev] [Bug 1819] New: Conditional configuration dependi…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: admin
Date:  
À: exim-dev
Nouveaux-sujets: [exim-dev] [Bug 1819] Conditional configuration depending on exim version, [exim-dev] [Bug 1819] Conditional configuration depending on exim version
Sujet: [exim-dev] [Bug 1819] New: Conditional configuration depending on exim version
https://bugs.exim.org/show_bug.cgi?id=1819

            Bug ID: 1819
           Summary: Conditional configuration depending on exim version
           Product: Exim
           Version: N/A
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: General execution
          Assignee: nigel@???
          Reporter: mh+exim-bugzilla@???
                CC: exim-dev@???


With the introduction of the *_environment options, exim has for the first time
created a situation where a newer exim version needs to see a configuration
option that an older exim version won't run with. This has made it harder to
write configuration that will run with older or newer versions, making it
necessary to distinguish between enterprise linux versions in configuration
management.

There should be macros that can allow a local admin to write a *_environment
option that is only visible to exim if it is a reasonably new exm, by writing

.ifdef EXIM_VERSION_NEW
add_environment=foo
.endif

I understand that this is probably unhandy since one cannot do comparisions in
macro expansion, so it may be better to have macros for those configuration
options such as

.ifdef _HAS_ADD_ENVIRONMENT
add_environment=foo
.endif

Greetings
Marc

--
You are receiving this mail because:
You are on the CC list for the bug.