<Top of this site>
<Top of programming pages in this site>
<Top of Exim pages in this site>
Lookup by embedded Perl of Exim 4.50.
exim-4.50-askperl.diff.gz
is a gzip'ed unified diff from
Exim
4.50
to add a new single-key lookup askperl;<name>
which calls perl subroutines.
For each lookup,
you should define 3 subroutines with names of the forms
<name>_open, <name>_find, and <name>_close.
- <name>_open
-
is passed no argument.
If the return value is `undef',
it implies failure of opening the database.
Othewise the value is passed to <name>_find as the 2nd argument.
- <name>_find
-
is passed 2 arguments.
The 1st argument is the lookup key,
and the 2nd is the return value of <name>_open.
If the return value of <name>_find is `undef',
it implies failure of the lookup.
If the return value is an empty string,
the lookup is treated as defered.
- <name>_close
-
is passed the return value of <name>_open.
Any questions or comments about this page
are greatly appreciated.
Almost all contents in this site are written by
Kiyokazu SUTO
(i.e. me)
unless especially noted.
I want to put all of them into the PUBLIC DOMAIN,
even though some lawyers mention that it is impossible in my country.