You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Jean-Paul Natola <jn...@familycareintl.org> on 2007/07/30 15:53:46 UTC

Plugin verification

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- ?


Thanks 









Jean-Paul Natola
Network Administrator
Information Technology
Family Care International
588 Broadway Suite 503
New York, NY 10012
Phone:212-941-5300 xt 36
Fax:  212-941-5563
Mailto: Jnatola@Familycareintl.org


RE: Plugin verification

Posted by Duane Hill <d....@yournetplus.com>.
On Mon, 30 Jul 2007 at 10:22 -0400, jnatola@familycareintl.org confabulated:

> On Mon, 30 Jul 2007 at 09:53 -0400, jnatola@familycareintl.org 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

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

RE: Plugin verification

Posted by Jean-Paul Natola <jn...@familycareintl.org>.


On Mon, 30 Jul 2007 at 09:53 -0400, jnatola@familycareintl.org 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

Re: Plugin verification

Posted by Duane Hill <d....@yournetplus.com>.
On Mon, 30 Jul 2007 at 09:53 -0400, jnatola@familycareintl.org 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.

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