Also, beware: Global variables can persist across different SMTP sessions. Make sure you empty out %Header each time in filter_begin.
I bet that's it. For exactly this reason I have a stanza at the top of filter_begin that empties out per-message globals, or sets them to default values, e.g.: %Header = ( ); 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 MIMEDefang@lists.roaringpenguin.com http://lists.roaringpenguin.com/mailman/listinfo/mimedefang