Hi,

On Sat, Feb 11, 2017 at 2:37 PM, RW <rwmailli...@googlemail.com> wrote:
> On Sat, 11 Feb 2017 11:26:05 -0800
> Ian Zimmerman wrote:
>
>> On 2017-02-11 18:11, David Jones wrote:
>>
>> > >pyzor_options --homedir=/usr/local/pyzor
>> >
>> > >What am I doing wrong?
>> >
>> > You were close.  No equals sign:
>> >
>> > pyzor_options --homedir /usr/local/pyzor
>>
>> But the pyzor help text (shown when run without args) tells me there
>> is an equal sign.  Besides, pyzor is a python program and the usual
>> arg parsing modules for python understand both spellings.

Does anyone have any more complete instructions on how to set it up
properly? The current wiki page says to run "pyzor --homedir
/etc/mail/spamassassin discover" , but the package that comes with
fedora25 doesn't recognize "discover"

# pyzor --homedir /etc/mail/spamassassin discover
2017-02-11 15:28:50,044 (13496) CRITICAL Unknown command: discover

I've added "pyzor_options --homedir /etc/mail/spamassassin" to my
local.cf and it appears to recognize it when I run spamassassin
manually:

# cat spam.test | spamassassin -D 2>&1|grep pyzor
dbg: pyzor: network tests on, attempting Pyzor
dbg: util: executable for pyzor was found at /usr/bin/pyzor
dbg: pyzor: opening pipe: /usr/bin/pyzor --homedir
/etc/mail/spamassassin check < /tmp/.spamassassin17358bO8g8xtmp
dbg: pyzor: got response: public.pyzor.org:24441 (200, 'OK') 1956102 7242
dbg: pyzor: listed: COUNT=1956102/5 WHITELIST=72424

It appears to be working. I just hoped someone could confirm there was
nothing further I needed to do.








>>
>
> Then that explains why it works without the "=". It was SpamAssassin
> that didn't like the format:
>
> "info: config: SpamAssassin failed to parse line"

Reply via email to