You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by jm...@jmason.org on 2005/03/04 17:40:59 UTC

Re: IPC::DirQueue support (fwd)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


fyi -- I've been messing with qpsmtpd recently, and their
plugin system is quite nifty --  it hides most of the complexity
of writing perl modules away "under the covers".   I'm considering
making some changes to 3.1.0 to support something similar in
SpamAssassin.

- --j.

- ------- Forwarded Message
> Date:    Fri, 11 Feb 2005 15:28:55 -0800
> From:    =?ISO-8859-1?Q?Ask_Bj�rn_Hansen?= <as...@develooper.com>
> To:      jm@jmason.org (Justin Mason)
> cc:      qpsmtpd@perl.org
> Subject: Re: IPC::DirQueue support
> 
> On Feb 10, 2005, at 10:34, Justin Mason wrote:
> 
>  (Thanks for the qpsmtpd plugin API btw!  very simple... quick design  
>  q: I
>  find it interesting that you've chosen to abstract out the new() ctor  
>  code
>  and call a register() hook instead.  is there any reason for this? to
>  insulate plugin developers from the vagaries of perl object syntax with
>  all that wierd "bless"ing and so on?  I'm thinking maybe we should
>  do something similar for SpamAssassin plugins.)
> 
> The first version of qpsmtpd didn't have the plugin/extension system,  
> but people hacked on it anyway of course.
> 
> The point of the plugin system was to make it Super Easy to make  
> enhancements and tweak how things work.
> 
> I started out with making it like Apache::Registry (so people don't  
> have to specify the name inside the plugin in addition to in the file  
> system) and then the rest grew out of "how can I make this simpler"[1].
> 
> I don't remember if it was to make it easy for people new to Perl and  
> SMTP to work with or if it was to just make it less work, but it had  
> both effects.   :-)
> 
>   - ask
> 
> [1] "this" being the quit_fortune plugin...
> http://cvs.perl.org/viewcvs/cvs-public/qpsmtpd/plugins/quit_fortune?rev=1.3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Exmh CVS

iD8DBQFCKI+aMJF5cimLx9ARAhw0AJ4rsYD+Agbr2MhOgY63BrSJ5MFv8QCdG0su
cU9WX0kQ+YNFp+Nl5wwyC7E=
=fykk
-----END PGP SIGNATURE-----


Re: IPC::DirQueue support (fwd)

Posted by Daniel Quinlan <qu...@pathname.com>.
jm@jmason.org writes:

> fyi -- I've been messing with qpsmtpd recently, and their plugin
> system is quite nifty -- it hides most of the complexity of writing
> perl modules away "under the covers".  I'm considering making some
> changes to 3.1.0 to support something similar in SpamAssassin.

+0.5 if it doesn't break current modules or contribute to delaying the
release.  :-)

Daniel

-- 
Daniel Quinlan
http://www.pathname.com/~quinlan/