Razor and Pyzor problems...
Glenn Steen
glenn.steen at gmail.com
Wed Nov 15 20:37:57 GMT 2006
On 15/11/06, Denis Beauchemin <Denis.Beauchemin at usherbrooke.ca> wrote:
> Hello everybody,
>
> The emails exchanged today prompted me to look at my logs to see how I
> was doing. It turns out that I was not doing so well with Pyzor: no
> hits in more than 30 hours... I then tried the alternate server with
> the following errors (taken from a debug MS run):
>
(snip)
> [1361] dbg: pyzor: pyzor is available: /usr/bin/pyzor
> [1361] dbg: pyzor: opening pipe: /usr/bin/pyzor check <
> /tmp/.spamassassin1361PABAvHtmp
> [1361] dbg: pyzor: [1376] finished: exit=0x0100
> [1361] dbg: pyzor: got response: 66.250.40.33:24441 TimeoutError:
> \n82.94.255.100:24441 (200, 'OK') 0 0
> [1361] dbg: pyzor: failure to parse response "66.250.40.33:24441
> TimeoutError: "
Seems you are trying "the old, nonfunctional, official server" still.
Just remove it and replace it with the new one mentioned in the other
thread and things should start hopping along. (I had the same
behaviour... that it trues both servers, and the "combined result"
kind of seems to baffle pyzor to no end:-)
(snip)
>
> The traceback doesn't look good and nor does the following:
> [1361] dbg: pyzor: got response: 66.250.40.33:24441 TimeoutError:
> \n82.94.255.100:24441 (200, 'OK') 0 0
As said... baffled and bewildered... Not the state one wants one
software to be in:-)
> Looks like it tried the original server and it timed out... but why is
> it prepending the \n in front of the IP address? I flushed the second
> server from my /root/.pyzor/server (it had the 2 servers each on a
> separate line) and reran it. I still got a traceback but no timeout
> this time...
In my testing, it worked with just the one.
> Now for Razor. I installed it (wasn't running it yet) and enabled it
> but I get no hit. Here are the excerpts from my MS debug run:
>
> [1361] dbg: plugin: loading Mail::SpamAssassin::Plugin::Razor2 from @INC
> [1361] dbg: razor2: razor2 is available, version 2.82
> [1361] dbg: plugin: registered
> Mail::SpamAssassin::Plugin::Razor2=HASH(0x9d19b6c)
> [1361] dbg: plugin: loading Mail::SpamAssassin::Plugin::Razor2 from @INC
> [1361] dbg: razor2: razor2 is available, version 2.82
> [1361] dbg: plugin: did not register
> Mail::SpamAssassin::Plugin::Razor2=HASH(0x9e07954), already registered
> [1361] dbg: plugin: fixed relative path:
> /var/lib/spamassassin/3.001007/updates_spamassassin_org/25_razor2.cf
> [1361] dbg: config: using
> "/var/lib/spamassassin/3.001007/updates_spamassassin_org/25_razor2.cf"
> for includedfile
> [1361] dbg: config: read file
> /var/lib/spamassassin/3.001007/updates_spamassassin_org/25_razor2.cf
>
> Looks like it's finding it OK but it doesn't call it. What could I have
> missed? My system is using iptables and can open outgoing connections
> to wherever it pleases. Same setup on our external firewall... Oh! SA
> is 3.1.7.
Did you do all the mumbo-jumbo (yeah, I'm really to tired to be typing
this:-) to configure it (mentione in the wiki, BTW;)? So that it finds
a server, have somewhere to put its logs etc?
--
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se
More information about the MailScanner
mailing list