[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. :-)

Regards
/Jonas

-- 
Jonas Eckerman, FSDB & Fruktträdet
http://whatever.frukt.org/
http://www.fsdb.org/
http://www.frukt.org/





More information about the MIMEDefang mailing list