Re: [Exim] Logging redirects to a database

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Drav Sloan
Date:  
À: Jeff
CC: exim-users
Sujet: Re: [Exim] Logging redirects to a database
Jeff wrote:
> After finding nothing useful in the archives, I was wondering if anyone has
> tried/succeeded in logging (message specific) information to a database..


have you tried adding an ACL:

  warn     message      = X-woteva:
           condition = ${run{ /path/to/command $sender##....}}


Where /path/to/command is some script that does the SQL handling and
the $sender##.... is the data to be passed to the script seperated
by something that marks a feild seperator (## in this example).

Failing that you are after alot more specific handling and in which
case look at coding a local_scan() function in C.

Regards

D.