Re: Differing scores on spamassassin checks

2018-04-17 Thread John Hardin
On Tue, 17 Apr 2018, John Hardin wrote: On Tue, 17 Apr 2018, Computer Bob wrote: In this way, any user can move a mail to their .SpamLearn folder and it will get learned. It is a very bad idea to do that without review unless you *strongly* trust the judgement and responsibility of your

Re: Differing scores on spamassassin checks

2018-04-17 Thread RW
On Tue, 17 Apr 2018 11:19:57 -0500 Computer Bob wrote: > The problem I immediately see is that I get one big bayes of everyone > and a 'one for all, all for one' bayes config. > I would like to configure SA to be able to deal with the virtual > users individually somehow but don't know if it

Re: Differing scores on spamassassin checks

2018-04-17 Thread John Hardin
On Tue, 17 Apr 2018, Computer Bob wrote: In this way, any user can move a mail to their .SpamLearn folder and it will get learned. It is a very bad idea to do that without review unless you *strongly* trust the judgement and responsibility of your users. Allowing training without review

Re: Differing scores on spamassassin checks

2018-04-17 Thread Computer Bob
I would like to thank everyone for your responses, they have been great. This maillist has not failed to help me improve things everytime I use it. So this particular server has virtual domains and virtual users in a folder hierarchy there under all owned by 'vmail' user. I have done the

Re: Differing scores on spamassassin checks

2018-04-17 Thread RW
On Tue, 17 Apr 2018 15:44:25 +0200 Matus UHLAR - fantomas wrote: > >> On 15.04.18 20:04, RW wrote: > >> >All setting bayes_path buys you here is the ability to run > >> >sa-learn and spamassassin as root, something you should *never* > >> >do anyway. > > >On Tue, 17 Apr 2018 13:55:13 +0200 >

Re: Differing scores on spamassassin checks

2018-04-17 Thread Matus UHLAR - fantomas
On 15.04.18 20:04, RW wrote: >All setting bayes_path buys you here is the ability to run sa-learn >and spamassassin as root, something you should *never* do anyway. On Tue, 17 Apr 2018 13:55:13 +0200 Matus UHLAR - fantomas wrote: it's the only way to use per-user settings and bayes DB on

Re: Differing scores on spamassassin checks

2018-04-17 Thread RW
On Tue, 17 Apr 2018 13:55:13 +0200 Matus UHLAR - fantomas wrote: > On 15.04.18 20:04, RW wrote: > >All setting bayes_path buys you here is the ability to run sa-learn > >and spamassassin as root, something you should *never* do anyway. > > it's the only way to use per-user settings and bayes

Re: Differing scores on spamassassin checks

2018-04-17 Thread Matus UHLAR - fantomas
On Sun, 15 Apr 2018 13:39:31 -0500 Computer Bob wrote: Update: For this location, it is ok to have a central bayes database, so I turned off AWL, adjusted local.cf to contain: bayes_path /Central_Path/bayes_db/bayes bayes_file_mode 0777 On 15.04.18 20:04, RW wrote: Don't set 0777. If that's

Re: Differing scores on spamassassin checks

2018-04-16 Thread Bill Cole
On 16 Apr 2018, at 19:01 (-0400), John Hardin wrote: On Mon, 16 Apr 2018, Computer Bob wrote: Why should sa-learn not be run as root ? That's a general safe practice. Do as little as root as you possibly can. Why risk a root crack from an unknown bug in sa-learn that somebody has

Re: Differing scores on spamassassin checks

2018-04-16 Thread John Hardin
On Mon, 16 Apr 2018, Computer Bob wrote: Why should sa-learn not be run as root ? That's a general safe practice. Do as little as root as you possibly can. Why risk a root crack from an unknown bug in sa-learn that somebody has discovered and figured out how to exploit via email? -- John

Re: Differing scores on spamassassin checks

2018-04-16 Thread Computer Bob
Well, now I am more thoroughly confused than usual. #:) On 4/15/18 2:04 PM, RW wrote: On Sun, 15 Apr 2018 13:39:31 -0500 Computer Bob wrote: Update: For this location, it is ok to have a central bayes database, so I turned off AWL, adjusted local.cf to contain: bayes_path

Re: Differing scores on spamassassin checks

2018-04-16 Thread Amir Caspi
On Apr 16, 2018, at 11:15 AM, RW wrote: > > You seem to be confusing unix and virtual users. Sorry, I was confusing "virtual hosting" with "virtual users." Oops. Ignore me! --- Amir

Re: Differing scores on spamassassin checks

2018-04-16 Thread RW
On Mon, 16 Apr 2018 10:34:41 -0600 Amir Caspi wrote: > > On Apr 15, 2018, at 12:39 PM, Computer Bob > > wrote: > > > > I still am a bit puzzled how bayes db gets handled when using > > virtual users and domains. I see no trace of bayes or .spamassassin > > files in any

Re: Differing scores on spamassassin checks

2018-04-16 Thread Amir Caspi
> On Apr 15, 2018, at 12:39 PM, Computer Bob wrote: > > I still am a bit puzzled how bayes db gets handled when using virtual users > and domains. I see no trace of bayes or .spamassassin files in any of the > virtual locations or in the sql databases. If you want

Re: Differing scores on spamassassin checks

2018-04-15 Thread RW
On Sun, 15 Apr 2018 13:39:31 -0500 Computer Bob wrote: > Update: > For this location, it is ok to have a central bayes database, so I > turned off AWL, adjusted local.cf to contain: > bayes_path /Central_Path/bayes_db/bayes > bayes_file_mode 0777 Don't set 0777. If that's still in the wiki

Re: Differing scores on spamassassin checks

2018-04-15 Thread RW
On Sun, 15 Apr 2018 11:08:35 -0700 (PDT) John Hardin wrote: > On Sun, 15 Apr 2018, Matus UHLAR - fantomas wrote: > > > On 15.04.18 11:55, Computer Bob wrote: > >> Here is a root scan:  https://pastebin.com/qdXMRzKb > > > > X-Spam-Status: Yes, score=10.2 required=4.0 tests=HTML_MESSAGE, > >

Re: Differing scores on spamassassin checks

2018-04-15 Thread Matus UHLAR - fantomas
On 15.04.18 11:55, Computer Bob wrote: Here is a root scan:  https://pastebin.com/qdXMRzKb On Sun, 15 Apr 2018, Matus UHLAR - fantomas wrote: X-Spam-Status: Yes, score=10.2 required=4.0 tests=HTML_MESSAGE, RAZOR2_CF_RANGE_51_100,RAZOR2_CHECK,RCVD_IN_SBL_CSS,SPF_HELO_PASS,

Re: Differing scores on spamassassin checks

2018-04-15 Thread John Hardin
On Sun, 15 Apr 2018, John Hardin wrote: On Sun, 15 Apr 2018, Matus UHLAR - fantomas wrote: On 15.04.18 11:55, Computer Bob wrote: Here is a root scan:  https://pastebin.com/qdXMRzKb X-Spam-Status: Yes, score=10.2 required=4.0 tests=HTML_MESSAGE,

Re: Differing scores on spamassassin checks

2018-04-15 Thread John Hardin
On Sun, 15 Apr 2018, Matus UHLAR - fantomas wrote: On 15.04.18 11:55, Computer Bob wrote: Here is a root scan:  https://pastebin.com/qdXMRzKb X-Spam-Status: Yes, score=10.2 required=4.0 tests=HTML_MESSAGE, RAZOR2_CF_RANGE_51_100,RAZOR2_CHECK,RCVD_IN_SBL_CSS,SPF_HELO_PASS,

Re: Differing scores on spamassassin checks

2018-04-15 Thread Matus UHLAR - fantomas
On 15.04.18 11:55, Computer Bob wrote: Here is a root scan:  https://pastebin.com/qdXMRzKb X-Spam-Status: Yes, score=10.2 required=4.0 tests=HTML_MESSAGE, RAZOR2_CF_RANGE_51_100,RAZOR2_CHECK,RCVD_IN_SBL_CSS,SPF_HELO_PASS, URIBL_DBL_SPAM autolearn=no autolearn_force=no

Re: Differing scores on spamassassin checks

2018-04-15 Thread Computer Bob
Here is a root scan:  https://pastebin.com/qdXMRzKb Here is the same run under spamd: https://pastebin.com/SvvYptYv On 4/15/18 11:34 AM, Computer Bob wrote: Greeting all, * *I have had some issues with spam getting low scores and in troubleshooting I have found that if I run a command line