Re: pyzor options
On Sat, 11 Feb 2017 15:40:18 -0500 Alex wrote: > It appears to be working. I just hoped someone could confirm there was > nothing further I needed to do. You probably don't even need the --homedir, I just noticed that I don't have a .pyzor directory in my home directory and checking and reporting both work on the command line.
Re: pyzor options
Hi, On Sat, Feb 11, 2017 at 2:37 PM, RWwrote: > 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"
Re: pyzor options
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. > Then that explains why it works without the "=". It was SpamAssassin that didn't like the format: "info: config: SpamAssassin failed to parse line"
Re: pyzor options
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. -- Please *no* private Cc: on mailing lists and newsgroups Personal signed mail: please _encrypt_ and sign Don't clear-text sign: http://cr.yp.to/smtp/8bitmime.html
Re: SpamAssassin does not scan consistently
On 09.02.17 09:34, Motty Cruz wrote: Although both of this emails were blocked, both emails were really spammy; one received high score while the other was percentage point away from passing through. My question pertains to spamassassin not consistently given "razor score, URIBL, T_REMOTE_IMAGE" to all emails. It is not being more aggressive? Use greylisting to delay email, in order to allow URIBLs to first receive copies of the spam, so that it gets into their databases. In my case, I delay "suspicious" looking emails for a longer period of time. I define "suspicious" based on certain spamassassin rules, that by themselves, either have a low or no score (such as __FILL_THIS_FORM_SHORT). This is my customized method. I suspect other people are doing something similar. I had to do this, because I had complaints of real mail getting delayed for too long a time period. Mark London Natick, May
Re: pyzor options
>This may have been part of the reason why I stopped using pyzor. Taking >a second look now, but the configuration still seems somewhat less than >obvious. >I want to set the pyzor "homedir", that is the directory where the >servers file lives. I tried (in local.cf): >pyzor_options --homedir=/usr/local/pyzor >pyzor_options "--homedir=/usr/local/pyzor" >Both result in spamassassin logging: >info: config: SpamAssassin failed to parse line, >"--homedir=/usr/local/pyzor" is not valid for "pyzor_options", skipping: >pyzor_options --homedir=/usr/local/pyzor >What am I doing wrong? You were close. No equals sign: pyzor_options --homedir /usr/local/pyzor Dave
pyzor options
This may have been part of the reason why I stopped using pyzor. Taking a second look now, but the configuration still seems somewhat less than obvious. I want to set the pyzor "homedir", that is the directory where the servers file lives. I tried (in local.cf): pyzor_options --homedir=/usr/local/pyzor pyzor_options "--homedir=/usr/local/pyzor" Both result in spamassassin logging: info: config: SpamAssassin failed to parse line, "--homedir=/usr/local/pyzor" is not valid for "pyzor_options", skipping: pyzor_options --homedir=/usr/local/pyzor What am I doing wrong? -- Please *no* private Cc: on mailing lists and newsgroups Personal signed mail: please _encrypt_ and sign Don't clear-text sign: http://cr.yp.to/smtp/8bitmime.html