Skip Brott wrote: > I haven't yet had to implement any pdf plugins, but I am looking to do so. > I am running SA 3.1.9 and perl 5.8.8. From what I can see, my plugins are > here: > > /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/ > > And there is no related folder for 5.8.8 > > Is that the location where I want to install the plugin? >
I usually recommend that people place third party plugins into their site or local rules directory (ie /etc/mail/spamassassin) and then specify that path in the loadplugin line. For instance, if you download MyPlugin.pm from the wiki, copy it to /etc/mail/spamassassin. Create a myplugin.pre file and put the following: loadplugin MyPlugin /etc/mail/spamassassin/MyPlugin.pm In the above config line the name of the plugin is actually the perl package name, so if its Mail::SpamAssassin::Plugin::MyPlugin then the config line will look like: loadplugin Mail::SpamAssassin::Plugin::MyPlugin /etc/mail/spamassassin/MyPlugin.pm Mucking around with the site_perl lib directories by hand is asking for trouble. Michael