when trying to run automated sa-learn it core dumps after a few seconds.
Segmentation fault: 11 (core dumped) /usr/local/bin/sa-learn --spam --
mbox -u $i $USERROOT/$i/${MAILP}/SPAM
If I su to the actual user and run this commend:
$ sa-learn --mbox --spam SPAM
Learned tokens from 909 message
On Thu, 29 Jan 2009, LuKreme wrote:
On 28-Jan-2009, at 14:43, Karsten Bräckelmann wrote:
You still should not have to split the mbox files. :)
True enough.
If sa-learn is mis-behaving on large mbox files for you, it's worth
investigating the cause. And either fix your system or sa-learn, i
On 28-Jan-2009, at 14:43, Karsten Bräckelmann wrote:
On Wed, 2009-01-28 at 13:43 -0700, LuKreme wrote:
On 28-Jan-2009, at 10:09, John Hardin wrote:
You shouldn't have to. I don't. I run sa-learn across mbox training
corpa every day. You *do* need to use the correct command-line
option to sa-l
On Wed, 2009-01-28 at 13:43 -0700, LuKreme wrote:
> On 28-Jan-2009, at 10:09, John Hardin wrote:
> > You shouldn't have to. I don't. I run sa-learn across mbox training
> > corpa every day. You *do* need to use the correct command-line
> > option to sa-learn to tell it that it's working on an
On Wed, 2009-01-28 at 14:01 -0700, LuKreme wrote:
> On 28-Jan-2009, at 10:25, Karsten Bräckelmann wrote:
> > Sure. See the -s option in 'man formail'.
> >
> > formail -s ${command_per_mail} < ${mbox}
>
> Right. As I originally posted:
>
> formail -s procmail -m salrc
> salrc:
> :0 fw
> | sa
On 28-Jan-2009, at 10:25, Karsten Bräckelmann wrote:
On Wed, 2009-01-28 at 09:25 -0700, LuKreme wrote:
What I wanted to know is I could use a combination of formail and
procmail to feed each measdsge to sa-learn one at a time.
Sure. See the -s option in 'man formail'.
formail -s ${command_pe
On 28-Jan-2009, at 10:09, John Hardin wrote:
On Wed, 28 Jan 2009, LuKreme wrote:
My shell users are still using mbox. I don't know how easy it would
be to change them to Maildir.
You shouldn't have to. I don't. I run sa-learn across mbox training
corpa every day. You *do* need to use the co
On Wed, 2009-01-28 at 09:25 -0700, LuKreme wrote:
> What I wanted to know is I could use a combination of formail and
> procmail to feed each measdsge to sa-learn one at a time.
Sure. See the -s option in 'man formail'.
formail -s ${command_per_mail} < ${mbox}
You will need procmail only, i
On Wed, 28 Jan 2009, LuKreme wrote:
My shell users are still using mbox. I don't know how easy it would be to
change them to Maildir.
You shouldn't have to. I don't. I run sa-learn across mbox training corpa
every day. You *do* need to use the correct command-line option to
sa-learn to tell
On Jan 27, 2009, at 11:31, Kai Schaetzl wrote:
LuKreme wrote on Tue, 27 Jan 2009 09:43:15 -0700:
Ah, right, I know that, but that wasn't the question.
No? I thought it was. Or at least in this area. see below.
What I wanted to know is I could use a combination of formail and
procmail to fe
LuKreme wrote on Tue, 27 Jan 2009 09:43:15 -0700:
> Ah, right, I know that, but that wasn't the question.
No? I thought it was. Or at least in this area. see below.
> Converting shell users from mbox to Maildir is not trivial, as far as
> I know.
But you wrote your users are Maildir users.
>
On 27-Jan-2009, at 04:31, Kai Schaetzl wrote:
LuKreme wrote on Mon, 26 Jan 2009 16:17:25 -0700:
Second question is, can I use
formail -s to split the mbox up and feed one message at a time to sa-
learn? And if so, what is the syntax? sa-learn seems to want a file
No, it works fine on maildir
LuKreme wrote on Mon, 26 Jan 2009 16:17:25 -0700:
> Second question is, can I use
> formail -s to split the mbox up and feed one message at a time to sa-
> learn? And if so, what is the syntax? sa-learn seems to want a file
>
No, it works fine on maildirs, as a default.
and I just don't kn
(Sorry if this is a repost, but I sent it 3 hours ago and it's not
shown up on any of the archives, so I think it got munched somewhere)
I executed the following (as root):
/home $ for i in `ls`
> do if test -s $i/Mail/SPAM; then
> echo $i ;
> /usr/local/bin/sa-learn --spam --mbox --
John wrote:
> Those are compile errors in the core SA code. Your install appears to
> be corrupted.
>
> Has anyone been editing the files under /usr/share/perl5/Mail/ ?
>
> You will probably need to wipe and reinstall SA from scratch. Note
> that your local rules and bayes database shouldn't be
der /usr/share/perl5/Mail/ ?
You will probably need to wipe and reinstall SA from scratch. Note
that your local rules and bayes database shouldn't be affected by
doing this.
> I am used to getting similar sa-learn errors, but not ones that
> cause problems when spamd or Spamassassin is m
ailed--compilation aborted at /usr/bin/sa-learn line 78.
I am used to getting similar sa-learn errors, but not ones that cause
problems when spamd or Spamassassin is manually run. Can anyone please
define what "strict subs" is used for and if I should disable it to
allow MAX_URI
17 matches
Mail list logo