[Exim] assigning variable or adding custom entry to log

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Christof Wessely
日付:  
To: exim-users
題目: [Exim] assigning variable or adding custom entry to log
This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Hello,

I am new to exim, and I have been reading the FAQ, but could not find an
answer.

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.

Thanks for your help.

Chris


--