[Mimedefang] maintaining state - per message custom variables

Jan-Pieter Cornet johnpc at xs4all.nl
Wed Oct 11 04:44:42 EDT 2006


On Tue, Oct 10, 2006 at 10:56:20PM +0200, Yizhar Hurwitz wrote:
> I have read "man mimedefang-filter => MAINTAINING STATE" section,
> 
> and I would like to ask your confirmation if I got it right.
> 
> I plan to use a custom array, that I will:
> 
> 1. clear in "filter_begin".
> 2. Optionally write something to it in "filter".
> 3. Check in "filter_end" if it is not empty, and do something.
> 
> As far as I understand, this is OK because all those functions will run 
> by the same process - is it right?

Yup, that is correct. All functions dealing with the complete email
message (filter_begin, filter, filter_multipart and filter_end) are
run in the same slave process.
 
-- 
Jan-Pieter Cornet <johnpc at xs4all.nl>
!! Disclamer: The addressee of this email is not the intended recipient. !!
!! This is only a test of the echelon and data retention systems. Please !!
!! archive this message indefinitely to allow verification of the logs.  !!



More information about the MIMEDefang mailing list