On Sep 12, 2006, at 22:54, David Muir Sharnoff wrote:

I think the isa_plugin() stuff is for when you want your plugin to
inherit from another class in addition to the default Qpsmtpd::Plugin.

No, it's to inherit from another plugin.

What I'm looking for is a way to take the spam filtering portion of my
quarentene plugin and use existing qpsmtpd plugins to do it.  Right
now, I'm doing SpamAsssassin and ClamAV within my plugin rather than
using the existing qpsmtpd spamassassin and clamav plugins.

You should be able to to "wrap" the clamav and SA plugins with isa_plugin so they just set notes or some such and then you can use the results in your quarantine plugin.

I've needed to read the source to Qpsmtpd to figure out how things
work.  I don't mind that except that if I'm not using a documented
API, I can't be sure it won't change.  For example, I call the
respond() method directly and as far as I can tell it isn't
documented.

Patches welcome!

Having the software easily hackable is one of the most important features.


  - ask

--
http://askask.com/  - http://develooper.com/


Reply via email to