Re: Rewritten URIBL plugin

[email protected] (Robert Spier)
Newsgroups perl.qpsmtpd
Message-ID <[email protected]>

Jared Johnson wrote:
> 
> > I think we should probably consider putting support for parsed messages
> > into core, with the parsing done lazily if requested by the API.
> 
> I forgot, we did kinda think of a couple of reasons not to want an API. 
> depending on where you put it, you may find QP in general depending on
> MIME::Parser even if it never uses it.  The benefit of the plugin is that
> /etc/qpsmtpd/plugins controls whether you wind up having to install, and
> take up your memory with, MIME::Parser

One thing we've discussed in the past (at least in my imagination)
although not quite figured out how to implement, is making plugins act
a little more like normal modules, so that one plugin can "use"
another.

So if you're interested in the "parsed mime" functionality, your
plugin can "plugin_use util/parsed-mime" and the right magic happens.

-R
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.