[exim] Abusing transport to execute SQL delete

2006-04-24 Thread Andrew Lewis
Hi all, 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 envelope_add_to, which worked fine, until I restarted Exim, at which point it complained bitt

Re: [exim] Abusing transport to execute SQL delete

2006-04-24 Thread Jakob Hirsch
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,

Re: [exim] Abusing transport to execute SQL delete

2006-04-24 Thread Wakko Warner
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

Re: [exim] Abusing transport to execute SQL delete

2006-04-24 Thread W B Hacker
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 expande

Re: [exim] Abusing transport to execute SQL delete

2006-04-25 Thread Jakob Hirsch
Wakko Warner wrote: >>> 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 > How about: > condition = ${lookup mysql {...} {yes}{yes}} That was also my first guess and I'd prefer that, but "condition" is on

Re: [exim] Abusing transport to execute SQL delete

2006-04-25 Thread Wakko Warner
Jakob Hirsch wrote: > Wakko Warner wrote: > >>> 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 > > How about: > > condition = ${lookup mysql {...} {yes}{yes}} > > That was also my first guess and I'd p