You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Billy Huddleston <bi...@nxs.net> on 2007/07/18 19:45:04 UTC
Question about v3.2.1 and SARE rules..
I upgraded from 3.1.7 to 3.2.1 and started getting errors from
70_sare_obfu.cf rules set.. any one got any ideas on this?
Thanks, Billy
**
Re: Really Stupid Question: Plugins
Posted by Theo Van Dinter <fe...@apache.org>.
On Wed, Jul 18, 2007 at 01:15:16PM -0500, Skip Brott wrote:
> I haven't yet had to implement any pdf plugins, but I am looking to do so.
> I am running SA 3.1.9 and perl 5.8.8. From what I can see, my plugins are
> here:
>
> /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/
>
> Is that the location where I want to install the plugin?
No, and you probably don't have your plugins directly there either.
The default plugins are in .../Mail/SpamAssassin/Plugins. You could put
your own plugins there, but it's not a requirement. It also, imo, makes
it annoying in certain situations. Upgrading a plugin, for instance --
I can't remember that path, and I'm tired of having to look it up when
I need it. YMMV.
I'd probably shove my own plugins in /etc/mail/spamassassin/plugins so that
they're in the same place as the configs I would edit to enable them. Then
you just set the loadplugin line to aim at the path and you're done. (see
perldoc Mail::SpamAssassin::Conf's loadplugin area to see what I mean.)
--
Randomly Selected Tagline:
"The weaknesses and the strengths of computer networking derive from the same
feature: it is easy to send messages to anyone who has access to the
network." - Donald A. Norman, The Trouble with Networks (Datamation 1/1982)
Re: Really Stupid Question: Plugins
Posted by Michael Parker <pa...@pobox.com>.
Skip Brott wrote:
> I haven't yet had to implement any pdf plugins, but I am looking to do so.
> I am running SA 3.1.9 and perl 5.8.8. From what I can see, my plugins are
> here:
>
> /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/
>
> And there is no related folder for 5.8.8
>
> Is that the location where I want to install the plugin?
>
I usually recommend that people place third party plugins into their
site or local rules directory (ie /etc/mail/spamassassin) and then
specify that path in the loadplugin line.
For instance, if you download MyPlugin.pm from the wiki, copy it to
/etc/mail/spamassassin. Create a myplugin.pre file and put the following:
loadplugin MyPlugin /etc/mail/spamassassin/MyPlugin.pm
In the above config line the name of the plugin is actually the perl
package name, so if its Mail::SpamAssassin::Plugin::MyPlugin then the
config line will look like:
loadplugin Mail::SpamAssassin::Plugin::MyPlugin
/etc/mail/spamassassin/MyPlugin.pm
Mucking around with the site_perl lib directories by hand is asking for
trouble.
Michael
Really Stupid Question: Plugins
Posted by Skip Brott <sb...@dmp.com>.
I haven't yet had to implement any pdf plugins, but I am looking to do so.
I am running SA 3.1.9 and perl 5.8.8. From what I can see, my plugins are
here:
/usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/
And there is no related folder for 5.8.8
Is that the location where I want to install the plugin?
- Skip
Re: Question about v3.2.1 and SARE rules..
Posted by Doc Schneider <ma...@maddoc.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Billy Huddleston wrote:
> Malformed UTF-8 character (unexpected non-cont
> inuation byte 0x00, immediately after start byte 0xd5) in pattern match
> (m//) at
> /etc/mail/spamassassin/70_sare_obfu1.cf, rule __SARE_OBFU_VISIT1, line
> 1, <GEN4
> 2> line 64.
>
> Malformed UTF-8 character (unexpected non-cont
> inuation byte 0x00, immediately after start byte 0xcf) in pattern match
> (m//) at
> /etc/mail/spamassassin/70_sare_obfu0.cf, rule SARE_OBFU_XANAX, line 1,
> <GEN42>
> line 64.
>
You need to update that rule... this was fixed a over a month ago.
Check what version you're running, you need 01.00.14
And yes I'm the one who fixed it! 8*)
- --
-Doc
Penguins: Do it on the ice.
8:44am up 4 days, 16:55, 17 users, load average: 0.18, 0.30, 0.37
SARE HQ http://www.rulesemporium.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org
iD8DBQFGnlZAqOEeBwEpgcsRAt3ZAKCFXCeQGo2ZHg7D76eo63lWrrz7yQCdE6OH
DY/pC0JEk8eovlYT9Vvr/dA=
=HAWW
-----END PGP SIGNATURE-----
Re: Question about v3.2.1 and SARE rules..
Posted by Billy Huddleston <bi...@nxs.net>.
Malformed UTF-8 character (unexpected non-cont
inuation byte 0x00, immediately after start byte 0xd5) in pattern match
(m//) at
/etc/mail/spamassassin/70_sare_obfu1.cf, rule __SARE_OBFU_VISIT1, line
1, <GEN4
2> line 64.
Malformed UTF-8 character (unexpected non-cont
inuation byte 0x00, immediately after start byte 0xcf) in pattern match
(m//) at
/etc/mail/spamassassin/70_sare_obfu0.cf, rule SARE_OBFU_XANAX, line 1,
<GEN42>
line 64.
Doc Schneider wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Billy Huddleston wrote:
>
>> I upgraded from 3.1.7 to 3.2.1 and started getting errors from
>> 70_sare_obfu.cf rules set.. any one got any ideas on this?
>>
>> Thanks, Billy
>>
>> **
>>
>
> What are the errors?
>
> - --
>
> -Doc
>
> Penguins: Do it on the ice.
> 8:44am up 4 days, 16:55, 17 users, load average: 0.18, 0.30, 0.37
>
> SARE HQ http://www.rulesemporium.com/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (GNU/Linux)
> Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org
>
> iD8DBQFGnlM+qOEeBwEpgcsRAhieAJ9+/oBIgmxG5BFcEhk3jQ/VFcyMawCfQ/Fr
> IKmWuv4PQ83Xy3LeoZ+tRmQ=
> =Cv1y
> -----END PGP SIGNATURE-----
>
>
>
Re: Question about v3.2.1 and SARE rules..
Posted by Doc Schneider <ma...@maddoc.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Billy Huddleston wrote:
> I upgraded from 3.1.7 to 3.2.1 and started getting errors from
> 70_sare_obfu.cf rules set.. any one got any ideas on this?
>
> Thanks, Billy
>
> **
What are the errors?
- --
-Doc
Penguins: Do it on the ice.
8:44am up 4 days, 16:55, 17 users, load average: 0.18, 0.30, 0.37
SARE HQ http://www.rulesemporium.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org
iD8DBQFGnlM+qOEeBwEpgcsRAhieAJ9+/oBIgmxG5BFcEhk3jQ/VFcyMawCfQ/Fr
IKmWuv4PQ83Xy3LeoZ+tRmQ=
=Cv1y
-----END PGP SIGNATURE-----