Re: [Exim] Exim+SA: spamc non-0 exit when spamd is down = tr…

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Torsten Luettgert
CC: exim-users
New-Topics: RE: [Exim] Exim+SA: spamc non-0 exit when spamd is down = transport_filterpanic
Subject: Re: [Exim] Exim+SA: spamc non-0 exit when spamd is down = transport_filter panic
On 16 Jan 2003, Torsten Luettgert wrote:

> > Again, I don't this should be the default. The sysadmin has configured
> > Exim to use a filter; delivering without it may not be a good thing.
> > (Consider a filter that is doing some kind of private encryption...)
> >
> > Even as an option it would not be particularly easy to do because of the
> > way Exim is implemented. And I suspect it is of very minority interest.


It occurs to me that you can implement this yourself. Instead of
defining

transport_filter = /some/command

you can define

transport_filter = "${if first_delivery{/some/command}{something else}}"

Hmm. It seems that there isn't an obvious way to specify "something
else" to mean "don't filter". An empty string is perhaps the obvious
answer; I'll think about that. Meanwhile, if you really wanted to, you
could use a filter that just copied the input to the output.

> Having the possibility to freeze the mail after a filter error would
> solve my problem.


Noted for the Wish List.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.