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

Etusivu
Poista viesti
Vastaa
Lähettäjä: Michael Haardt
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [Exim] ANNOUNCE: exiscan-acl-4.24-13
> To return to a technical discussion, how about this:
>
> warn message = blah
>       spam = joe:true:spamd=127.0.0.1 783

>
> ... where both the 'true' and 'spamd' options are of course optional.
>
> This is backwards compatible, and hey, you can have 'timeout=5s' and
> 'error=ok' too if you like. The username will have to stay where it is
> of course.


You need to recognise AV pairs from existing options for that, so why
mix them? You could as well decide at the first option if parsing should
be done old style or new style.

The old parsing code could be enclosed in #ifdef, making it easy to
leave it out some day. I also suggest to split the "spamd" attribute
into "interface", "port" and "path".

Michael