[Mimedefang] Next generation mimedefang-filter

David F. Skoll dfs at roaringpenguin.com
Thu May 12 10:12:42 EDT 2005


Nik Clayton wrote:

> Ditch mimedefang-filter.  Have mimedefang.pl use something like
> Module::Pluggable to find everything in the MimeDefang::Filter::Plugin
> namespace.

This is on our roadmap... eventually...

We've just gone through massive pain to reorganize CanIt into proper
Perl modules that are maintainable, easy to separate, and modular.
We made the effort because CanIt is paying the bills.

Eventually, we plan on a complete revamp of MIMEDefang, but frankly,
it won't happen until there is a compelling business reason to do it.
We have way too much engineering work to do on our commercial products
to devote significant resources to fixing MIMEDefang right now.

Unless some kind company were to sponsor a rewrite, my guess is it won't
happen for at least a year.

> There needs to be some sort of ordering mechanism in here to ensure that
> multiple plugins with a filter_sender() method get called in the right
> order.

Yes.  But I don't like a configuration-file approach; I'd rather have
plugins declare either which order they want to run in (similar to
traditional UNIX runlevel scripts that use S00 through S99 to order
themselves), or more ambitiously, to have plugins declare that they
must run before plugins X, Y and Z, and after A, B and C, and do a
topological sort to find the correct order.

Regards,

David.



More information about the MIMEDefang mailing list