Autor: Alexander Sabourenkov Datum: CC: exim-users Betreff: Re: [Exim] Passing parameters to local_scan()?
Hi.
> is it possible to pass a parameter from the configuration file to
> local_scan() or a function/variable it may access? A simple string
> would suffice.
You need :
1. declare a global variable in src/globals.h
2. define it in src/globals.c
3. add it to the list of main config options in src/readconf.c
4. #include "globals.h" in your local_scan.c
voila, but be sure to put the record for your option into correct position
relative to others: they should be in strict alphabetical order or exim
will complain about unknown main configuration option.