Joel Vandal wrote:
> Hi,
>
> Here is a patch that add XMLRPC functionnality to Exim 4.10. The only
> requirement is the xmlrpc-c (http://xmlrpc-c.sourceforge.net) library
> and an XMLRPC server & script. (I will post in a few day my XMLRPC
> modules w/ mySQL caching, etc...)
>
> It work exactly like the ${perl{arg1}{arg2}} syntax then you can use
> the ${xmlrpc{function}{arg1}{arg2}..{arg8}} tag anywhere on
> exim.conf.
>
> Documentation, tutorial, examples, etc.. are currently missing but I
> will have more time on the following day (or week <g>)
>
Nice, BUT.
> --- exim-4.10/src/expand.c 2002-07-22 04:59:48.000000000 -0400
> +++ exim-4.10xmlrpc/src/expand.c 2002-11-12 20:12:38.000000000 -0500
> @@ -48,6 +48,9 @@
> #ifdef EXIM_PERL
> US"perl",
> #endif
> + #ifdef EXIM_XMLRPC
> + US"xmlrpc",
> + #endif
> US"readfile",
> US"run",
> US"sg",
> @@ -60,6 +63,9 @@
> #ifdef EXIM_PERL
> EITEM_PERL,
> #endif
> + #ifdef EXIM_XMLRPC
> + EITEM_XMLRPC,
> + #endif
> EITEM_READFILE,
> EITEM_RUN,
> EITEM_SG,
IIRC exim does a binary-search on these lists, that means, they must be
in alphabetic order.
> @@ -1596,6 +1602,7 @@
> ${if cond {s1} {s2}} conditional; the yielded string is expanded
> {s2} can be replaced by "fail" or be omitted
> ${perl{sub}{a1}... call Perl (if configured)
> + ${xmlrpc{sub}{a1}... call Perl (if configured)
;)))