Re: UTF-8/SA WORKAROUND only - NOT - a fix..

2007-05-10 Thread Justin Mason

Kevin W. Gagel writes:
> Thanks for straightening me out on that Vincent.
> Folks - for completeness here are some instructions for the WORKAROUND.
> 
> Locate your Message.pm module and edit the section in the begining as
> indicated below.
> 
> I have been running this now for a couple of hours with no adverse affects
> (that I can see at the moment).
> 
> PS
> Thanks [EMAIL PROTECTED] for your help. I'm up and running without any
> further errors.
> - Forwarded Message -
> > Vincent,
> >
> > Where in the Message.pm module do I but "use bytes"? Right here (below)
> > and do I just add it below the warnings line with a ";" ending it?
> 
> Yes, you are right, after "use warnings;". I ran SA3.2 on my site with 
> "use bytes;" added, no problem so far. But it seems SA developers did not 
> mention this, they might have their reasons (break normalize_charset for 
> one reason).

Yes, exactly -- breaking one of the major 3.2.0 features is not a good
thing. :(

--j.

> > ---paste---
> > package Mail::SpamAssassin::Message;
> >
> > use strict;
> > use warnings;
> >
> > use Mail::SpamAssassin;
> > use Mail::SpamAssassin::Message::Node;
> > use Mail::SpamAssassin::Message::Metadata;
> > use Mail::SpamAssassin::Constants qw(:sa);
> > use Mail::SpamAssassin::Logger;
> >
> > use vars qw(@ISA);
> > ---end paste---
> >
> > =
> 
> Vincent Li
> http://bl0g.blogdns.com
> 
> =
> Kevin W. Gagel
> Network Administrator
> Information Technology Services
> (250) 562-2131 local 448
> My Blog:
> http://mail.cnc.bc.ca/blogs/gagel
> 
> ---
> The College of New Caledonia, Visit us at http://www.cnc.bc.ca
> Virus scanning is done on all incoming and outgoing email.
> Anti-spam information for CNC can be found at http://avas.cnc.bc.ca
> ---


Re: UTF-8/SA WORKAROUND only - NOT - a fix..

2007-05-09 Thread Kevin W. Gagel
Thanks for straightening me out on that Vincent.
Folks - for completeness here are some instructions for the WORKAROUND.

Locate your Message.pm module and edit the section in the begining as
indicated below.

I have been running this now for a couple of hours with no adverse affects
(that I can see at the moment).

PS
Thanks [EMAIL PROTECTED] for your help. I'm up and running without any
further errors.
- Forwarded Message -
> Vincent,
>
> Where in the Message.pm module do I but "use bytes"? Right here (below)
> and do I just add it below the warnings line with a ";" ending it?

Yes, you are right, after "use warnings;". I ran SA3.2 on my site with 
"use bytes;" added, no problem so far. But it seems SA developers did not 
mention this, they might have their reasons (break normalize_charset for 
one reason).

> ---paste---
> package Mail::SpamAssassin::Message;
>
> use strict;
> use warnings;
>
> use Mail::SpamAssassin;
> use Mail::SpamAssassin::Message::Node;
> use Mail::SpamAssassin::Message::Metadata;
> use Mail::SpamAssassin::Constants qw(:sa);
> use Mail::SpamAssassin::Logger;
>
> use vars qw(@ISA);
> ---end paste---
>
> =

Vincent Li
http://bl0g.blogdns.com

=
Kevin W. Gagel
Network Administrator
Information Technology Services
(250) 562-2131 local 448
My Blog:
http://mail.cnc.bc.ca/blogs/gagel

---
The College of New Caledonia, Visit us at http://www.cnc.bc.ca
Virus scanning is done on all incoming and outgoing email.
Anti-spam information for CNC can be found at http://avas.cnc.bc.ca
---