[Mimedefang] Does MIMEdefang 'remember' variable values between successive invocations?

Joseph Brennan brennan at columbia.edu
Tue Sep 6 15:13:36 EDT 2011


"Kevin A. McGrail" <KMcGrail at PCCC.com> wrote:

> MAINTAINING STATE
>         There are four basic groups of filtering functions:
>         1      filter_relay
>         2      filter_sender
>         3      filter_recipient
>         4      filter_begin, filter, filter_multipart, filter_end


Group 4 would all be the same perl process for any one message. You
can set a global in filter_begin() and use it in filter().

However a global needs to be reset before the next message is handled!
I put the resets together in a stanza at the top of filter_begin().

Joseph Brennan
Columbia University Information Technology




More information about the MIMEDefang mailing list