Cameron Bales wrote: > <snip plugin code> > > Could the plugin on the page: > http://wiki.apache.org/spamassassin/ClamAVPlugin > have some sort of version number/date attached so we could easily know > what version we are talking about on the list, and if additions > mentioned on the list have been incorporated?
Sure, you could put a version number in the code/comments in innumerable ways.
Justin and I haven't really been talking about the plugin itself, anyway, just about how plugins handle adding custom headers.
> Is the plugin mentioned above a direct replacement for clamav.pm from > the wiki? Daryl - I think this version of the code is yours if it is > a direct replacemtn for the version on the wiki would you like to > replace it there? Shall I? I know hardly anything about perl so I > don't know the common ways to notate versions or author history in > files like this.
First, the plugin is Troels Hansen's, all credit goes to him. The only suggestion I made to his code was to add the X-Spam-Virus header to both spam and ham (it originally only added it to spam). The version you just re-posted, by replying to my old post, is where I made and implemented that suggestion.
Troels' next post after mine indicated that he implemented the same thing in a slightly different way and uploaded it to the wiki. The wiki version IS the current version, although both the version you reposted and the wiki version are functionally equivalent.
Daryl