On 10/06/2012 12:14 PM, Arthur Dent wrote:
I am trying to improve the performance of SA on my small home server. I
use the sought rules, but though I would also include Razor and Pyzor. I
am no stranger to the command line and not afraid of compiling from
source (and that is what I did in the past when installing Razor/Pyzor)
but I noticed that Pyzor was available in the Fedora17 repos - so I yum
installed it...
I put "pyzor_options --homedir /home/mark/.pyzor"
in /etc/mail/spamassassin/local.cf
I ran "pyzor --homedir ~/.pyzor discover" and I restarted SA.
To test it I used the incantation recommened on the Wiki:
$ echo "test" | spamassassin -D pyzor 2>&1 | less
And this is what I get:
==================================8<=======================================
Oct 6 11:11:46.956 [10904] dbg: pyzor: network tests on, attempting Pyzor
Oct 6 11:11:52.055 [10904] dbg: pyzor: pyzor is available: /bin/pyzor
Oct 6 11:11:52.056 [10904] dbg: pyzor: opening pipe: /bin/pyzor --homedir
/home/mark/.pyzor check < /tmp/.spamassassin10904BmyCb9tmp
Oct 6 11:11:52.344 [10904] dbg: pyzor: [10906] finished: exit 1
Oct 6 11:11:52.345 [10904] dbg: pyzor: check failed: no response
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mydomain.org
[snip rest...]
==================================8<=======================================
What have I done wrong?
(BTW I also yum installed Razor and that seem to work OK according to a
similar test).
Thanks in advance
are you running SA as user "mark"?
pyzor ping
that should create ~/.pyzor/servers
and you should be ready to go