Re: [Exim] ANNOUNCE: exiscan-acl-4.24-13

Góra strony
Delete this message
Reply to this message
Autor: Michael Haardt
Data:  
Dla: exim-users
Temat: Re: [Exim] ANNOUNCE: exiscan-acl-4.24-13
On Tue, Oct 28, 2003 at 10:05:45AM +0100, Andreas Metzler wrote:
> > You could as well decide at the first option if parsing should
> > be done old style or new style.
>
> Could you show some examples?


Old style:

spam = value:value:... e.g. spam = user:true

New style:

spam = attr=value attr=value ... e.g. spam = interface=127.0.0.1 port=783 user=nobody

It looks different enough to me that the parser could easily decide
how the values are specified. The current option parser would be used
for colon separated lists, with #ifdef around it. That way you stay
backwards compatible for now and it is easy to disable that code later.
The old parser could even emit a warning, telling how to modify the
configuration.

Michael