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

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Michael Haardt
Datum:  
To: exim-users
Betreff: 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