Re: [Exim] assigning variable or adding custom entry to log

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: Andreas Metzler
CC: exim-users
Tárgy: Re: [Exim] assigning variable or adding custom entry to log
On Wed, 3 Sep 2003, Andreas Metzler wrote:

> > This works fine, but I want to start exim in normal, non debug, mode.
> > How could I achieve this?
> > Any assignment to a dummy variable, writing to the log file, or anything
> > that just evaluates the lookup would be fine.
> [...]
>
> Perhaps
> headers_add = ${lookup oracle{ORA_TIMESTAMP}}
> _after_ modifying '${lookup oracle{ORA_TIMESTAMP}}' to return an empty
> string.


As long as your lookup returns an empty string, you don't even have to
put it in a separate option such as headers_add. Just tack it onto one
of the other options:

  directory = ${lookup oracle{ORA_TIMESTAMP}}\
              ${lookup oracle{ORA_MAILDIR}{$value}}


--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book