--On Thursday, August 24, 2006 2:12 PM +0530 BG Mahesh <[EMAIL PROTECTED]>
wrote:
I am using SA-3.1.4. I am in the process of installing
http://www.rulesemporium.com/plugins.htm
Where do I install
ImageInfo.pm<http://www.rulesemporium.com/plugins/ImageInfo.pm>[which
directory]?
On Fedora I put mine in /etc/mail/spamassassin/plugins, and added the path
to the end of the load line in init.pre:
loadplugin Mail::SpamAssassin::Plugin::ImageInfo
/etc/mail/spamassassin/plugins/ImageInfo.pm
(That may split across two lines in the mail. It should all be on one line
in your file.)
I also added the following "informational" rules to
/etc/mail/spamassassin/imageinfo.cf:
# informational message to test plugin
meta GIF_ATTACH_1 __GIF_ATTACH_1
describe GIF_ATTACH_1 One GIF attachment
score GIF_ATTACH_1 0.001
meta GIF_ATTACH_2P __GIF_ATTACH_2P
describe GIF_ATTACH_2P Two GIF attachments
score GIF_ATTACH_2P 0.001
meta PNG_ATTACH_1 __PNG_ATTACH_1
describe PNG_ATTACH_1 One PNG attachment
score PNG_ATTACH_1 0.001
meta PNG_ATTACH_2P __PNG_ATTACH_2P
describe PNG_ATTACH_2P Two PNG attachments
score PNG_ATTACH_2P 0.001
meta JPEG_ATTACH_1 __JPEG_ATTACH_1
describe JPEG_ATTACH_1 One JPEG attachment
score JPEG_ATTACH_1 0.001
meta JPEG_ATTACH_2P __JPEG_ATTACH_2P
describe JPEG_ATTACH_2P Two JPEG attachments
score JPEG_ATTACH_2P 0.001