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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Christof Wessely
Date:  
À: exim-users
Sujet: RE: [Exim] assigning variable or adding custom entry to log
Thanks, that works like a charm.

Chris


-----Original Message-----
From: exim-users-admin@??? [mailto:exim-users-admin@exim.org] On
Behalf Of Andreas Metzler
Sent: Mittwoch, 03. September 2003 11:15
To: exim-users@???
Subject: Re: [Exim] assigning variable or adding custom entry to log

On Wed, Sep 03, 2003 at 09:53:56AM +0200, Christof Wessely wrote:
> I want to update a user's record in my database whenever a new mail

for
> this user arrives.
> I do this by using an Oracle stored function:
> ORA_TIMESTAMP = SELECT
>

update_Account('${quote_oracle:$domain}','${quote_oracle:$local_part}')
> FROM DUAL
>
> When running exim in debug mode I can use
> deliver_domain:
> debug_print = ${lookup oracle{ORA_TIMESTAMP}}
> driver = appendfile
> directory = ${lookup oracle{ORA_MAILDIR}{$value}}
> delivery_date_add
> envelope_to_add
> return_path_add
> create_directory
> maildir_format
> mode = 0600
> mode_fail_narrower = false
>
> 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.
                 cu and- reading dcs.mailserver ;-) -reas


--

## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##