著者: Edgar Lovecraft 日付: To: exim-users 題目: Re: [Exim] Exim 4.34 environment variable patch
Nico Erfurth wrote: >
> Hagen Paul Pfeifer wrote:
>
> > I think there is no wise exigence for this patch except for debuging
> > purpose, maybe.
> >
> > How many environment variable do you want to set to work effective?
> > One, two, ...? More is even error-prone and complex. I think there
> > exists better ways to communicate with exim.
>
> Also users could set environment variables and so influence the way exim
> works. *shudder*
>
> A better way would be to use a startup-script that sets macros,
> depending on environment variables, via -D.
Or just use a 'wrapper' script that gets called by the web-server CGI and
PHP that keeps track of those things that you to keep track of. Perl
could easily do this, and then pass the results on to Exim/Sendmail/etc.