From: Dallas L. E. <da...@nm...> - 2005-10-06 13:07:46
|
> -----Original Message----- > From: pyz...@li...=20 > [mailto:pyz...@li...] On Behalf Of Chris > Sent: Wednesday, October 05, 2005 7:17 PM > To: pyz...@li... > Subject: Re: Pyzor errors with SA 3.1 >=20 > On Wednesday 05 October 2005 11:45 am, Dallas L. Engelken wrote: >=20 > > > > Is this a pyzor error or an SA error? I've not seen it in=20 > > > > previous versions of SA. I have Pyzor 0.4.0 installed as an RPM > > > > > > from Mandrake. > > > > > > It's a Pyzor error that's happened all along, but SA just started=20 > > > logging it. (Basically when Pyzor hits a message it can't handle=20 > > > and throws an exception, SA used to ignore it. > > > Now SA logs it.) > > > > > > IIRC there's a patch floating around - you should be able=20 > to find it=20 > > > in the the SA list archives. > > > > From http://bugzilla.spamassassin.org/show_bug.cgi?id=3D4580 > > > > To make it simple, I have combined those 3 patches into 1... > > http://www.engelken.net/download/pyzor.patch > > > > Just cd to your python2.x/site-packages/pyzor dir, and=20 > patch -p0 on it. > > Example code from a shell script that installs pyzor... > > > > # patch pyzor > > if [ -e "/usr/lib/python2.3/site-packages/pyzor" ]; then > > cd /usr/lib/python2.3/site-packages/pyzor > > patch -p0 < $DIR/patches/pyzor.patch 2>&1 >/dev/null > > fi > > > > D > Not having installed a patch before, I'm doing something=20 > wrong. I downloaded the patch, copied it over to my=20 > /usr/lib/python2.3/site-packages/pyzor opened a root console=20 > and typed patch -p0 which did absolutely nothing that I could=20 > see. I'm sure its simple, so what did I do wrong? >=20 # cp pyzor.patch /usr/lib/python2.3/site-packages/pyzor # cd /usr/lib/python2.3/site-packages/pyzor=20 # patch -p0 < pyzor.path d |