On Sun, 2007-21-01 at 01:09 +0000, Robin Bowes wrote:
> I've got to say, the most effective qpsmtpd plugin I run is my own
> check_validrcptto_cdb plugin which uses one of John SImpson's scripts
> to
> generate a cdb of valid addreses and checks the incoming rcptto addres
> against it. I find it rejects *loads* of spam.
> 
> Details here:
> 
> http://robinbowes.com/projects/check_validrcptto_cdb

Is it ok to grab a copy of this ?  Some of the conversation re-wiki
reorg has been off-list but we want to have an svn 'contrib' plugin
repo, for which it is easier to get access.

I'm doing some work on plugin documentation and testing at the moment
and I will post the results to the wiki.  I'd like to document
everything out there (within reason ;-) ... there are 3 resources
advertised on the wiki and I was going to start with those (after
getting permission from the owners).

So far, I've written a Qpsmtpd::Plugins::Doxygen module[1] and a script
which creates an object for each plugin found in a tree generated by
'find' (excluding .svn/ and contents).  At the moment, I am just using
it do dump documentation to a big file, which I will use in emacs[2] to
track what I am doing.

I can post the code to the list if anyone wants to play with it. 

Right now, the script assumes that every plug-in name in a tree is
unique (which is true for ./plugins/ in the svn repo) and die's if this
is not so.  But this would allow different versions of the same plugin
to exist in the repo as long as they were in different trees.

--gh


[1] ::Doxygen is just a name here.  I know nothing about the real
'Doxygen' other than the fact it exists and produces documentation from
code for several languages.

[2] The entries look roughly like:

  * NAME        has_init        has_register
  ** Hooks
  - hook1       sub_name1
  - hook2       sub_name2
  ** Private
  - _private_sub1
  ** Docs (if pod exists)
  pod2text output

The '*..*' are used as section headers for emacs outline-mode ... but it
would be straightforward to generate an html tables and pages.

-- 
--gh


Reply via email to