Re: [exim] Abusing transport to execute SQL delete

Pàgina inicial
Delete this message
Reply to this message
Autor: Wakko Warner
Data:  
A: jh, exim-users
CC: Andrew Lewis
Assumpte: Re: [exim] Abusing transport to execute SQL delete
Jakob Hirsch wrote:
> Quoting Andrew Lewis:
>
> > I have a desire to execute mysql delete statements in my remote_smtp
> > transport :) which would be rather useful to me. I'm having problems
> > finding a suitable place to put this though. I was abusing
>
> Basically, any option that is expanded, but you should use harmless one,
> e.g.
>
> fine_transport:
> ...
> headers_add = ${lookup mysql {...} {}{}}


How about:
    condition = ${lookup mysql {...} {yes}{yes}}


I'm sure there's plenty of ways. I've always preferred the condition part
due to the ease of moving it to an acl.

--
Lab tests show that use of micro$oft causes cancer in lab animals
Got Gas???