Re: [Exim] Logging redirects to a database

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Drav Sloan
Data:  
Para: Jeff
CC: exim-users
Assunto: 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.