Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

loadplugin TextCat from user_prefs

From: <jidanni(at)jidanni.org>
Date: Thu Oct 18 2007 - 22:43:04 EDT

b> 
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5675

>> > Don't put loadplugin statements into your .cf files
>> .cf files? I put it in user_prefs! -- my best guess as to how to
>> use this jazz.

b> *DEFINITELY* not in your user_prefs.

b> The Mail::SpamAssassin::Conf document is quite clear that
b> loadplugin is an administrator setting. No administrator settings
b> should be in your user_prefs, as they will be ignored by spamd for
b> security reasons, although a normal call to "spamassassin" will run
b> them.

Yes, I never use spamd(1) and always use spamassassin(1).

OK, I see

     See "Mail::SpamAssassin::Plugin" for more details on writing plugins. But nothing about more details on how to _run_ them.

Anyway, here's what I have in user_prefs:

loadplugin Mail::SpamAssassin::Plugin::VBounce score BOUNCE_MESSAGE 5

loadplugin Mail::SpamAssassin::Plugin::AntiVirus body MICROSOFT_EXECUTABLE eval:check_microsoft_executable() score MICROSOFT_EXECUTABLE 5
body MIME_SUSPECT_NAME eval:check_suspect_name() score MIME_SUSPECT_NAME 5

Do you need help?X

loadplugin Mail::SpamAssassin::Plugin::MIMEHeader

mimeheader J_YUCK_ATTACHMENT Content-type =~ /\.(exe|scr|pif|zip)"$/i
score J_YUCK_ATTACHMENT 5
mimeheader J_MSDOWNLOAD Content-type =~ /application\/x-msdownload;/
score J_MSDOWNLOAD 11

loadplugin Mail::SpamAssassin::Plugin::TextCat #I hate ru:
ok_languages af am ar be bg ca cs da de el en es fa fi fr he hi hr hu hy id it ja ka ko mr ms ne nl no pl pt qu ro sk sq sr sv sw ta th tl tr uk vi zh add_header all languages _LANGUAGES_
#score UNWANTED_LANGUAGE_BODY 11

I was doing great, having a good time until --lint complained about UNWANTED_LANGUAGE_BODY, so I had to comment it out.

Anyway, big mystery: how does one enjoy UNWANTED_LANGUAGE_BODY? I wish to only edit user_prefs, not gumming up anything else. Received on Thu Oct 18 22:43:57 2007

This archive was generated by hypermail 2.1.8 : Sat Jul 05 2008 - 21:27:06 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library