On Mon, 30 Jul 2007 at 10:22 -0400, [EMAIL PROTECTED] confabulated:

On Mon, 30 Jul 2007 at 09:53 -0400, [EMAIL PROTECTED] confabulated:

Hi all,

I wanted to confirm something here in my setup regarding the plugins-

If my init.pre has this line

loadplugin Mail::SpamAssassin::Plugin::URIDNSBL

now I check to see where the plugin actually  is

locate URIDNSBL

/usr/local/lib/perl5/5.8.8/man/man3/Mail::SpamAssassin::Plugin::URIDNSBL.3.gz
/usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/URIDNSBL.pm

Is it going to find/use the plugin - or do I need to specify the full path
of
the plugin- ?

It should work as is. That is a plugin installed by SA and is loaded by
default. The location where you found the plugin is where the native
plugins reside.


So If I were to add any plugins like the PDFInfo  it would go there too,

and all I would need to do is edit the init.pre like this

loadplugin Mail::SpamAssassin::Plugin::PDFInfo

thx

You should place the PDFInfo plugin where the local.cf lives. I.e.: /etc/mail/spamassassin. That way if the native plugin directory gets overwritten by upgrading to a newer version of SA, you won't have to worry about any third-party plugins you may have loaded.

Then in init.pre:

loadplugin Mail::SpamAssassin::Plugin::PDFInfo /etc/mail/spamassassin/PDFInfo.pm

-------
  _|_
 (_| |

Reply via email to