SA plugins in MailScanner
John Rudd
jrudd at ucsc.edu
Mon Nov 27 12:38:20 GMT 2006
Martin Hepworth wrote:
> John Rudd wrote:
>>
>> Outside of mailscanner, I've written a plugin that I install by just
>> putting the .cf and .pm files into /etc/mail/spamassassin
>>
>> Will that be enough for MailScanner, or do I need to put the .cf data
>> into /opt/mailscanner/etc/spam.assassin.prefs.conf file instead of
>> having it be an independent file?
>>
>> (note: this is specific to mailscanner-4.41.3 ... I know some of the
>> file locations have changed since then ... I wont be upgrading
>> mailscanner, so please don't suggest that; just answer in terms of
>> "what do I need to do in order to load a SA plugin into
>> mailscanner-4.41.3)
>>
> John
>
> same place you'd put plugins normally.......
>
> suggested place for the .pm is the directory you find spammassin.pm and
> the others. Otherwise you have to specify the full path name in the .pre
> file you use to load the plugin.
Actually, I have been putting the load directive in the (plugin-name).cf
file. That seems to do the trick. I wonder if that's why it works to
have the .pm file in the same directory...
Thanks for the answers!
More information about the MailScanner
mailing list