Re: [EXIM] Remove attachments

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Marc Haber
CC: exim-users
Subject: Re: [EXIM] Remove attachments
On Wed, 9 Jun 1999, Marc Haber wrote:

> This is a point that I can understand. However, it surely would be
> possible to write the headers to the pipe before starting with the
> message and to replace the memory-stored headers with the headers the
> filter generates. But maybe I'm asking too much here since we'd have
> to deal with the case if the filter would modify the headers in a way
> that would affect already-taken routing or directing decisions.


Routing and directing do not involve the headers, except in so much as
routing a partial domain might cause a rewrite.

> I suspect that taking out a lock on the header file won't work because
> the headers are subject to change during the filter run.


During the delivery run the header file might get updated. That is
exactly why the locking is done on the body file.

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



--
*** Exim information can be found at http://www.exim.org/ ***