John Rudd wrote:
> Question 2: someone asked why my module is "Botnet" instead of 
> "Mail::SpamAssassin::Plugin::Botnet".  The answer is: when I first 
> started this (and this is/was my first SA Plugin authoring attempt), I 
> tried that and it didn't work.

I just tested this, and it works perfectly fine for me. This is wjhat I did:

1: Replaced the line
package Botnet;
with the line
package Mail::SpamAssassin::Plugin::Botnet;
in Botnet.pm. I did not other changes at all in this file.

2: Replaced the line
loadplugin Botnet /usr/local/etc/mail/spamassassin.plugins/Botnet.pm
with the line
loadplugin Mail::SpamAssassin::Plugin::Botnet 
/usr/local/etc/mail/spamassassin.plugins/Botnet.pm
in plugins.pre (the file I load custom plugins in). I did no other changes to 
this file.

I really don't know why this isn't working for you. It's strange.

Regards
/Jonas
-- 
Jonas Eckerman, FSDB & Fruktträdet
http://whatever.frukt.org/
http://www.fsdb.org/
http://www.frukt.org/

Reply via email to