Re: [exim] Abusing transport to execute SQL delete

Top Page
Delete this message
Reply to this message
Author: Wakko Warner
Date:  
To: jh, exim-users
CC: Andrew Lewis
Subject: 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???