[Mimedefang] Patch: adding custom headers for SpamAssassin

Jonas Eckerman jonas_lists at frukt.org
Fri Sep 22 12:07:23 EDT 2006

David F. Skoll wrote:

> I'd rather not add yet another global variable.

I can understand that.

The reasons I added it as a global variable was
a) it was simple and
b) it fits the seeming philosophy of how mimedefang.pl is written.

A more clean way would be as an optional argument (giving a reference to an array) to the functions calling SpamAssassin.

> A long-range TODO at Roaring Penguin is to rewrite MIMEDefang
> to be more CPAN-like and not rely on global variables.

An object oriented MIMEDefang seems logical.
And nice. :-)


Jonas Eckerman, FSDB & Fruktträdet

More information about the MIMEDefang mailing list