"Kevin A. McGrail" <[email protected]> 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

_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to