On 30 Dec 2015, at 8:37, RW wrote:
On Tue, 29 Dec 2015 20:41:31 -0500
Bill Cole wrote:
On 29 Dec 2015, at 20:02, Ian Zimmerman wrote:
esired result.
Clearly you can do the su magic if needed.
Um, no.
Neither su nor sudo magically changes the permissions or ownership of
files.
No,
On Tue, 29 Dec 2015 20:41:31 -0500
Bill Cole wrote:
> On 29 Dec 2015, at 20:02, Ian Zimmerman wrote:
>
esired result.
> >
> > Clearly you can do the su magic if needed.
>
> Um, no.
>
> Neither su nor sudo magically changes the permissions or ownership of
> files.
No, but sudo allows
On Mon, 28 Dec 2015 23:42:03 -0500
Bill Cole wrote:
> Using these facts, my learning script that runs as root and reads
> from multiple real users' Maildirs does this to learn ham:
>
>for AFILE in $HAMS ; do formail < $AFILE ; done| sudo -H -u
> $SAUSER sa-learn --ham --mbox
>
> Where
On 29 Dec 2015, at 20:02, Ian Zimmerman wrote:
On 2015-12-29 19:44 -0500, Bill Cole wrote:
On 29 Dec 2015, at 18:54, Ian Zimmerman wrote:
In fact sa-learn accepts multiple named arguments on the command
line,
so the alternative I use is to go through the spambox N files at a
time
in a
On 2015-12-29 20:41 -0500, Bill Cole wrote:
> Neither su nor sudo magically changes the permissions or ownership of
> files. If you pass filenames as arguments they must be readable by the
> user actually running sa-learn, which is the *unprivileged* user
> handling the system-wide BayesDB
Am 30.12.2015 um 03:11 schrieb Ian Zimmerman:
On 2015-12-29 20:41 -0500, Bill Cole wrote:
Neither su nor sudo magically changes the permissions or ownership of
files. If you pass filenames as arguments they must be readable by the
user actually running sa-learn, which is the *unprivileged*
On 2015-12-29 19:44 -0500, Bill Cole wrote:
> On 29 Dec 2015, at 18:54, Ian Zimmerman wrote:
>
> >In fact sa-learn accepts multiple named arguments on the command line,
> >so the alternative I use is to go through the spambox N files at a time
> >in a shell loop. (I have N=100 but obviously
On 29 Dec 2015, at 13:24, RW wrote:
On Mon, 28 Dec 2015 23:42:03 -0500
Bill Cole wrote:
Using these facts, my learning script that runs as root and reads
from multiple real users' Maildirs does this to learn ham:
for AFILE in $HAMS ; do formail < $AFILE ; done| sudo -H -u
$SAUSER sa-learn
On 2015-12-29 17:50 -0500, Bill Cole wrote:
> Yes, with the advantage of using Mail::SpamAssassin::Util::secure_tmpfile()
> rather
> than whatever I happen to roll up in a bit of Q shell that I never get
> around to
> reviewing for edge cases...
>
> The main reason to do something like that is
On 29 Dec 2015, at 18:54, Ian Zimmerman wrote:
In fact sa-learn accepts multiple named arguments on the command line,
so the alternative I use is to go through the spambox N files at a
time
in a shell loop. (I have N=100 but obviously this depends.)
Which successfully ignores the original
On 29 Dec 2015, at 8:28, Jude DaShiell wrote:
With spamassassin, is it possible to have the filter show counts of
number of messages sent to spam, number of messages sent to ham, and
total number of messages processed that a user can check?
Since SpamAssassin is a suite of Perl modules and
assassin.apache.org
>> Subject: Re: Is BAYES filtering working? Having doubts.
>>> On 28 Dec 2015, at 17:54, Peter L. Berghold wrote:
>>>
>>> The script that I use to pull the messages out of a
>>> spam bucket invoking sa-learn runs as root which has
Am 29.12.2015 um 05:42 schrieb Bill Cole:
On 28 Dec 2015, at 17:54, Peter L. Berghold wrote:
The script that I use to pull the messages out of a
spam bucket invoking sa-learn runs as root which has permissions to read
from anywhere. The complication is the amavis does not have permissions
ers-20150...@billmail.scconsult.com>
Reply-To: users@spamassassin.apache.org
To: users@spamassassin.apache.org
Subject: Re: Is BAYES filtering working? Having doubts.
On 28 Dec 2015, at 17:54, Peter L. Berghold wrote:
The script that I use to pull the messages out of a
spam bucket invoking sa-lear
On Mon, 28 Dec 2015, Peter L. Berghold wrote:
On Mon, Dec 28, 2015 at 11:38:17AM -0800, John Hardin wrote:
* you haven't also been training ham. Bayes needs sufficient examples of
both to be able to make a judgement.
Oh yes, been training ham too.
Good.
* you're somehow mistraining
Am 28.12.2015 um 23:54 schrieb Peter L. Berghold:
I think you might be on to something here. When I run
"sa-learn --dump magic"
as root and as amavis they are definitely different. Here is the result
as "root" again:
so this is going to complicate how I educate SpamAsssassin about what
I think you might be on to something here. When I run
"sa-learn --dump magic"
as root and as amavis they are definitely different. Here is the result
as "root" again:
# sa-learn --dump magic
0.000 0 3 0 non-token data: bayes db version
0.000 0
I've been noticing a lot of SPAM emails coming to my account with
subject headers "Trump's Brain Secret" and similar, along with "Amazon
Gift Card" and other something for nothing sorts of emails. I keep
feeding them to sa-learn and yet they still keep popping up every other
fetch from my
On Monday 28 December 2015 at 20:27:32, Peter L. Berghold wrote:
> I've been noticing a lot of SPAM emails coming to my account
> How do I figure out where the issue is or if the learning is even
> working?
Show us the headers of the delivered email/s?
Antony.
--
"Once you have a panic,
On Mon, 28 Dec 2015, Peter L. Berghold wrote:
I've been noticing a lot of SPAM emails coming to my account with subject
headers "Trump's Brain Secret" and similar, along with "Amazon Gift Card" and
other something for nothing sorts of emails. I keep feeding them to sa-learn
and yet they
Am 28.12.2015 um 20:27 schrieb Peter L. Berghold:
I've been noticing a lot of SPAM emails coming to my account with
subject headers "Trump's Brain Secret" and similar, along with "Amazon
Gift Card" and other something for nothing sorts of emails. I keep
feeding them to sa-learn and yet they
On 28 Dec 2015, at 17:54, Peter L. Berghold wrote:
The script that I use to pull the messages out of a
spam bucket invoking sa-learn runs as root which has permissions to
read
from anywhere. The complication is the amavis does not have
permissions
to read the Maildir files for trivial users
22 matches
Mail list logo