Re: [exim] exim does not detect invalid configfile on startu…

Pàgina inicial
Delete this message
Reply to this message
Autor: John W. Baxter
Data:  
A: exim-users
Assumpte: Re: [exim] exim does not detect invalid configfile on startup.
On 12/22/2004 1:44, "Andreas Metzler" <eximusers@???> wrote:

> On 2004-12-22 "Odhiambo G. Washington" <wash@???> wrote:
>> * Andreas Metzler <eximusers@???> [20041221 22:47]: wrote:
>>> This is <http://bugs.debian.org/286721>
>>> ---------------------
>>> On 2004-12-21 Marc Sherman <msherman@???> wrote:
> [...]
>>>> exim 4.34 does not support submission mode (it was added in 4.40).
>>>> However, adding "control=submission" to an ACL in the 4.34 config file
>>>> does not cause an error at startup (or with exim -bV). The failure is
>>>> only noticed when incoming mail hits the offending line in the ACL, and
>>>> is deferred.
> [...]
>> Sorry to jump into this, but the statement Mr. Andreas has responded
>> to seems weird to me, if anyone ever did that. Why? It says
>
>> 1. Exim 4.34 does not support submission mode (it was added in 4.40).
>> 2. However, adding "control=submission" to an ACL in the 4.34 config
>>    file ...

>
>> Now I am wondering: If you know so well that submission support mode
>> is only a feature of 4.40 and above, why try it in 4.34??? Are we
>> expecting Philip to address that or what is the point? ;)
>
> Hello,
> Marc did _not_ know that 4.34 did not support "control=submission"
> when he added the statement (he read the docs for 4.40) and would have
> liked exim to immediately kick him with "WTF, syntax error. I do
> not know knothing about control=submission?" instead of only doing
> this when evaluting the ACL ar RCPT TO:.
>
> It is not about exim developing "the sight" but about exim detecting
> which statements are valid at startup. This would be useful not only
> for this specific case but also for detecting typos.
>                 cu andreas


Well, it is because not everything is checked that aside from the exim -bV
we have in our scripts that install new config files, we also routinely take
a look at the exim_paniclog file after installing a new config. We also
have a monitor which verifies every 5 minutes that exim_paniclog is empty
and pages us if it isn't. Sooner or later (usually sooner) we learn about
my blunders.

--John